Filter products by country
This commit is contained in:
parent
551cb2d5b6
commit
c4e9f9e843
|
|
@ -242,6 +242,9 @@ class ProductDocumentViewSet(BaseDocumentViewSet):
|
|||
'field': 'tags.id',
|
||||
'lookups': [constants.LOOKUP_QUERY_IN],
|
||||
},
|
||||
'country': {
|
||||
'field': 'wine_region.country.code',
|
||||
},
|
||||
'wine_colors_id': {
|
||||
'field': 'wine_colors.id',
|
||||
'lookups': [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user