浏览代码

Public Bookmarks now show all public bookmarks, bug fixed

control 3 年之前
父节点
当前提交
413d49fbb4
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 二进制
      app/database.db
  2. 2 2
      app/logic.py

二进制
app/database.db


+ 2 - 2
app/logic.py

@@ -108,9 +108,9 @@ def home():
 def shared():
 
     # owned groups
-    bgroups = Groups.query.filter_by(owner=current_user.id).all()
+    bgroups = Groups.query.all()
     # owned bookmarks
-    bmarks = Bookmark.query.filter_by(owner=current_user.id).all()
+    bmarks = Bookmark.query.all()
 
     bb_dic = dict() # dict of lists
     for bg in bgroups: