fixed a order in command
This commit is contained in:
parent
f7ebf8dedd
commit
a743b75bb4
@ -206,7 +206,7 @@ class BaseQuerySet(object):
|
|||||||
raise OperationError(
|
raise OperationError(
|
||||||
"Is not possible to use search_text two times.")
|
"Is not possible to use search_text two times.")
|
||||||
|
|
||||||
query_kwargs = {'$search': text}
|
query_kwargs = SON({'$search': text})
|
||||||
if language:
|
if language:
|
||||||
query_kwargs['$language'] = language
|
query_kwargs['$language'] = language
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user