Merge pull request #16304 from netchampfaris/fix-item-group-pagination

fix(website): Pagination in child item groups
This commit is contained in:
Nabin Hait 2019-01-16 10:31:48 +05:30 committed by GitHub
commit 29552c1ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,10 @@ def get_child_groups_for_list_in_html(item_group, start, limit, search):
rgt = ('<', item_group.rgt),
),
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]