[fix] product search limit = 12 instead of 10, since we show it in a grid of 12
This commit is contained in:
parent
5aa744893d
commit
dfdededcf0
@ -10,7 +10,9 @@ no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
@frappe.whitelist(allow_guest=True)
|
||||
def get_product_list(search=None, start=0, limit=10):
|
||||
def get_product_list(search=None, start=0, limit=12):
|
||||
# limit = 12 because we show 12 items in the grid view
|
||||
|
||||
# base query
|
||||
query = """select name, item_name, page_name, website_image, thumbnail, item_group,
|
||||
web_long_description as website_description, parent_website_route
|
||||
|
Loading…
x
Reference in New Issue
Block a user