Fix viewing Publisher settings for other users

Fix Visiblilty of read/unread category
This commit is contained in:
Ozzieisaacs
2019-01-26 19:06:54 +01:00
parent 9128615f48
commit e8ce88095e
3 changed files with 9 additions and 2 deletions
+5
View File
@@ -3280,6 +3280,11 @@ def edit_user(user_id):
elif "show_sorted" not in to_save and content.show_sorted():
content.sidebar_view -= ub.SIDEBAR_SORTED
if "show_publisher" in to_save and not content.show_publisher():
content.sidebar_view += ub.SIDEBAR_PUBLISHER
elif "show_publisher" not in to_save and content.show_publisher():
content.sidebar_view -= ub.SIDEBAR_PUBLISHER
if "show_hot" in to_save and not content.show_hot_books():
content.sidebar_view += ub.SIDEBAR_HOT
elif "show_hot" not in to_save and content.show_hot_books():