ソースを参照

Public Bookmarks now show all public bookmarks, bug fixed

control 3 年 前
コミット
413d49fbb4
2 ファイル変更2 行追加2 行削除
  1. BIN
      app/database.db
  2. 2 2
      app/logic.py

BIN
app/database.db


+ 2 - 2
app/logic.py

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