mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
[enhancement] use thumbnails in grid views, patch to make thumbnails
This commit is contained in:
@@ -12,7 +12,7 @@ no_sitemap = 1
|
||||
@frappe.whitelist(allow_guest=True)
|
||||
def get_product_list(search=None, start=0, limit=10):
|
||||
# base query
|
||||
query = """select name, item_name, page_name, website_image, item_group,
|
||||
query = """select name, item_name, page_name, website_image, thumbnail, item_group,
|
||||
web_long_description as website_description, parent_website_route
|
||||
from `tabItem` where show_in_website = 1 and (variant_of is null or variant_of = '')"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user