fix: query for item group listing (#19604)
This commit is contained in:
parent
f3ecfd8e58
commit
776ff2f75d
@ -136,6 +136,7 @@ def get_child_groups_for_list_in_html(item_group, start, limit, search):
|
|||||||
fields = ['name', 'route', 'description', 'image'],
|
fields = ['name', 'route', 'description', 'image'],
|
||||||
filters = dict(
|
filters = dict(
|
||||||
show_in_website = 1,
|
show_in_website = 1,
|
||||||
|
parent_item_group = item_group.name,
|
||||||
lft = ('>', item_group.lft),
|
lft = ('>', item_group.lft),
|
||||||
rgt = ('<', item_group.rgt),
|
rgt = ('<', item_group.rgt),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user