review filter fix
This commit is contained in:
parent
61e049f5c3
commit
2f6d0cf4ed
|
|
@ -26,5 +26,5 @@ class ReviewFilter(filters.FilterSet):
|
|||
|
||||
def by_product_id(self, queryset, name, value):
|
||||
if value not in EMPTY_VALUES:
|
||||
return queryset.by_establishment_id(value, content_type='product')
|
||||
return queryset.by_product_id(value, content_type='product')
|
||||
return queryset
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user