fix(website): Remove references to Product Settings.products_a… (#18451)

This was accidentally added back in 34c551d9a5 (diff-f0a387cdb305471e74e523ecc4e646ac)
This commit is contained in:
Faris Ansari 2019-07-23 13:40:40 +05:30 committed by GitHub
parent 85d88395ba
commit 06c7a7e660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,8 +69,7 @@ class ItemGroup(NestedSet, WebsiteGenerator):
"items": get_product_list_for_group(product_group = self.name, start=start,
limit=context.page_length + 1, search=frappe.form_dict.get("search")),
"parents": get_parent_item_groups(self.parent_item_group),
"title": self.name,
"products_as_list": cint(frappe.db.get_single_value('Products Settings', 'products_as_list'))
"title": self.name
})
if self.slideshow: