news search
This commit is contained in:
parent
f4fff47d68
commit
b25f387c9b
|
|
@ -61,11 +61,18 @@ class NewsDocumentViewSet(BaseDocumentViewSet):
|
|||
)
|
||||
|
||||
filter_fields = {
|
||||
'tags_id': {
|
||||
'field': 'tags.id',
|
||||
'lookups': [
|
||||
constants.LOOKUP_QUERY_IN,
|
||||
constants.LOOKUP_QUERY_EXCLUDE,
|
||||
],
|
||||
},
|
||||
'tag': {
|
||||
'field': 'tags.id',
|
||||
'lookups': [
|
||||
constants.LOOKUP_QUERY_IN,
|
||||
constants.LOOKUP_QUERY_EXCLUDE
|
||||
constants.LOOKUP_QUERY_EXCLUDE,
|
||||
]
|
||||
},
|
||||
'tag_value': {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user