Skip to content

Commit

Permalink
fix(wiki-settings): hide_sidebar_items -> collapse_sidebar_groups
Browse files Browse the repository at this point in the history
  • Loading branch information
BreadGenie committed Nov 22, 2023
1 parent 7e68702 commit 2bc32db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki/wiki/doctype/wiki_page/wiki_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def get_items(self, sidebar_items):
context.active_sidebar_group = frappe.get_value(
"Wiki Group Item", {"wiki_page": self.name}, ["parent_label"]
)
context.hide_sidebar_items = wiki_settings.hide_sidebar_items
context.collapse_sidebar_groups = wiki_settings.collapse_sidebar_groups
context.sidebar_items = sidebar_items
context.wiki_search_scope = self.get_space_route()
sidebar_html = frappe.render_template(
Expand Down

0 comments on commit 2bc32db

Please sign in to comment.