mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
fix(website): Pagination in child item groups
Item groups pages which had child item groups were not paged at all despite having next, prev buttons
This commit is contained in:
@@ -136,7 +136,10 @@ def get_child_groups_for_list_in_html(item_group, start, limit, search):
|
|||||||
rgt = ('<', item_group.rgt),
|
rgt = ('<', item_group.rgt),
|
||||||
),
|
),
|
||||||
or_filters = search_filters,
|
or_filters = search_filters,
|
||||||
order_by = 'weightage desc, name asc')
|
order_by = 'weightage desc, name asc',
|
||||||
|
start = start,
|
||||||
|
limit = limit
|
||||||
|
)
|
||||||
|
|
||||||
return [get_item_for_list_in_html(r) for r in data]
|
return [get_item_for_list_in_html(r) for r in data]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user