Add UI link button to shelves

This commit is contained in:
otapi
2018-10-11 18:20:38 +02:00
committed by GitHub
parent e0229c917c
commit c6d3613e57
2 changed files with 5 additions and 2 deletions
-1
View File
@@ -2677,7 +2677,6 @@ def show_shelf(shelf_id):
@app.route("/shelfdown/<int:shelf_id>")
@login_required_if_no_ano
def show_shelf_down(shelf_id):
if current_user.is_anonymous:
shelf = ub.session.query(ub.Shelf).filter(ub.Shelf.is_public == 1, ub.Shelf.id == shelf_id).first()