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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user