mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: Fix category collapse by partition not working. Fixes #1945882 [[Content Server] "Search for books" setting error](https://bugs.launchpad.net/calibre/+bug/1945882)
This commit is contained in:
parent
aaae134a0f
commit
ab15421c43
@ -333,7 +333,7 @@ def collapse_partition(collapse_nodes, items, category_node, idx, tag, opts, top
|
||||
if not name.startswith('##TAG_VIEW##'):
|
||||
# Formatter succeeded
|
||||
node_id = category_as_json(
|
||||
items, items[category_node['id']].category, name, 0,
|
||||
items, items[category_node['id']]['category'], name, 0,
|
||||
parent=category_node['id'], is_editable=False, is_gst=is_gst,
|
||||
is_hierarchical=category_is_hierarchical, is_searchable=False)
|
||||
node_parent = {'id':node_id, 'children':[]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user