mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-29 06:38:24 +00:00
[fix] paging for products (support)
This commit is contained in:
@@ -68,7 +68,7 @@ class ItemGroup(NestedSet, WebsiteGenerator):
|
||||
start = 0
|
||||
context.update({
|
||||
"items": get_product_list_for_group(product_group = self.name, start=start,
|
||||
limit=context.page_length, search=frappe.form_dict.get("search")),
|
||||
limit=context.page_length + 1, search=frappe.form_dict.get("search")),
|
||||
"parent_groups": get_parent_item_groups(self.name),
|
||||
"title": self.name,
|
||||
"products_as_list": cint(frappe.db.get_single_value('Website Settings', 'products_as_list'))
|
||||
|
||||
Reference in New Issue
Block a user