1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-07 00:15:10 +01:00

Stub for sort method

This commit is contained in:
2016-07-25 16:48:37 +02:00
parent 16703487cb
commit 7a32290e1f

View File

@@ -201,8 +201,9 @@ def index():
@app.route('/<userkey>', methods=['GET', 'POST']) @app.route('/<userkey>', methods=['GET', 'POST'])
def bookmarks(userkey): @app.route('/<userkey>/sort/<sortmethod>', methods=['GET', 'POST'])
""" User homepage, list their (unfiltered) bookmarks """ def bookmarks(userkey, sortmethod = None):
""" User homepage, list their bookmarks, optionally filtered and/or sorted """
#return object_list('bookmarks.html', Bookmark.select()) #return object_list('bookmarks.html', Bookmark.select())
#user = User.select(key=userkey) #user = User.select(key=userkey)
#if user: #if user: