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:
parent
1fa3f7d81e
commit
af75d9a384
@ -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]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user