aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/views/bookmark.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/web/views/bookmark.py b/src/web/views/bookmark.py
index c80c9fdd..18098d83 100644
--- a/src/web/views/bookmark.py
+++ b/src/web/views/bookmark.py
@@ -43,6 +43,7 @@ from lib.data import import_pinboard_json
from bootstrap import db
from web.forms import BookmarkForm
from web.controllers import BookmarkController, BookmarkTagController
+from web.models import BookmarkTag
logger = logging.getLogger(__name__)
bookmarks_bp = Blueprint('bookmarks', __name__, url_prefix='/bookmarks')
@@ -93,6 +94,9 @@ def list_(per_page, status='all'):
.read(**filters) \
.order_by(desc('time'))
+ #tag_contr = BookmarkTagController(user_id)
+ #tag_contr.read().join(bookmarks).all()
+
page, per_page, offset = get_page_args()
pagination = Pagination(page=page, total=bookmarks.count(),
css_framework='bootstrap3',
bgstack15