[enhancement] use thumbnails in grid views, patch to make thumbnails

This commit is contained in:
Rushabh Mehta
2015-10-07 14:30:19 +05:30
parent 73e73795f1
commit 6e322d0a02
11 changed files with 67 additions and 8 deletions

View File

@@ -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 = '')"""