remove collection and guide tags from metadata
This commit is contained in:
parent
7646f7d809
commit
f9187c5801
|
|
@ -55,7 +55,7 @@ class TagCategoryFilterSet(TagsBaseFilterSet):
|
||||||
if value == EstablishmentType.ARTISAN:
|
if value == EstablishmentType.ARTISAN:
|
||||||
qs = models.TagCategory.objects.with_base_related().filter(index_name='shop_category')
|
qs = models.TagCategory.objects.with_base_related().filter(index_name='shop_category')
|
||||||
else:
|
else:
|
||||||
qs = queryset.by_establishment_type(value)
|
qs = queryset.by_establishment_type(value).exclude(index_name__in=['guide', 'collection'])
|
||||||
return qs
|
return qs
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user