Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix params in get_attributes_choices
michalb1969f52ecd1
diff --git a/saleor/product/filters.py b/saleor/product/filters.pyindex 170c6a1b6a..cb05b76573 100644--- a/saleor/product/filters.py+++ b/saleor/product/filters.py@@ -44,7 +44,7 @@ class ProductFilter(FilterSet):}-def get_attribute_choices(self, attribute):+def get_attribute_choices(attribute):result = [(choice.slug, choice.name)for choice in AttributeChoiceValue.objects.filter(attribute__name=attribute.name)]