Commits

Kai Diefenbach  committed 404bd35

Fixed filtering within products overview view.

  • Participants
  • Parent commits e1dc452
  • Tags 0.6.0b1

Comments (0)

Files changed (1)

File lfs/manage/views/product/product.py

     """Displays the selectable products for the product view. (Used to switch
     quickly from one product to another.)
     """
-    product = Product.objects.get(pk=product_id)
+    try:
+        product = Product.objects.get(pk=product_id)
+    except Product.DoesNotExist:
+        return ""
 
     if product.is_variant():
         base_product = product.parent