diff options
Diffstat (limited to 'servo/forms')
-rw-r--r-- | servo/forms/product.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/forms/product.py b/servo/forms/product.py index 480240d..7e0f52e 100644 --- a/servo/forms/product.py +++ b/servo/forms/product.py @@ -31,7 +31,7 @@ class ProductSearchForm(forms.Form): def __init__(self, *args, **kwargs): super(ProductSearchForm, self).__init__(*args, **kwargs) - tags = TaggedItem.objects.filter(ref="product").distinct("tag") + tags = TaggedItem.objects.filter(content_type__model="product").distinct("tag") self.fields['tag'].queryset = tags |