1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 23:05: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'])
def bookmarks(userkey):
""" User homepage, list their (unfiltered) bookmarks """
@app.route('/<userkey>/sort/<sortmethod>', methods=['GET', 'POST'])
def bookmarks(userkey, sortmethod = None):
""" User homepage, list their bookmarks, optionally filtered and/or sorted """
#return object_list('bookmarks.html', Bookmark.select())
#user = User.select(key=userkey)
#if user: