update tag filter
This commit is contained in:
parent
8b9f6ed864
commit
24f84ae8be
|
|
@ -60,7 +60,10 @@ class EstablishmentDocumentViewSet(BaseDocumentViewSet):
|
|||
'description',
|
||||
)
|
||||
filter_fields = {
|
||||
'tag': 'tags.id',
|
||||
'tag': {
|
||||
'field': 'tags.id',
|
||||
'lookups': [constants.LOOKUP_QUERY_IN]
|
||||
},
|
||||
'toque_number': {
|
||||
'field': 'toque_number',
|
||||
'lookups': [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user