mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
[fix] website search
This commit is contained in:
@@ -33,7 +33,7 @@ def get_product_list(search=None, start=0, limit=10):
|
|||||||
|
|
||||||
for d in data:
|
for d in data:
|
||||||
d.route = ((d.parent_website_route + "/") if d.parent_website_route else "") \
|
d.route = ((d.parent_website_route + "/") if d.parent_website_route else "") \
|
||||||
+ d.page_name
|
+ (d.page_name or "")
|
||||||
|
|
||||||
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