isolated cooploading functionality

This commit is contained in:
Sam
2021-02-26 11:46:40 +00:00
parent 86020afd27
commit 0f7af9c0fb
4 changed files with 42 additions and 29 deletions

View File

@@ -212,7 +212,6 @@ def product_search(request):
for chunk in chunks:
product_set, min_price, max_price = find_related_products_v6(chunk, shipping_cost, discount, category, tags, price_min, price_max)
# update price values
# import ipdb; ipdb.set_trace()
if prices['min'] is None or min_price['price__min'] < prices['min']:
prices['min'] = min_price['price__min']
if prices['max'] is None or max_price['price__max'] > prices['max']: