mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
fix: query for item group listing (#19604)
This commit is contained in:
committed by
Nabin Hait
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'],
|
||||
filters = dict(
|
||||
show_in_website = 1,
|
||||
parent_item_group = item_group.name,
|
||||
lft = ('>', item_group.lft),
|
||||
rgt = ('<', item_group.rgt),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user