Add product UPC to JSON output of 'products.search' view.

This commit is contained in:
Lance Edgar 2015-03-10 15:22:39 -05:00
parent 085ce70820
commit 42da24a047

View file

@ -356,6 +356,7 @@ def products_search(request):
else: else:
product = { product = {
'uuid': product.uuid, 'uuid': product.uuid,
'upc': unicode(product.upc or ''),
'full_description': product.full_description, 'full_description': product.full_description,
} }
return {'product': product} return {'product': product}