Removed unnecessary SearchQuery._combine().

Unnecessary since its introduction in 2d877da855.
This commit is contained in:
Baptiste Mispelon 2020-03-13 11:21:12 +01:00 committed by Mariusz Felisiak
parent 40a64dd1e2
commit b62c58d5fc
1 changed files with 0 additions and 5 deletions

View File

@ -193,11 +193,6 @@ class SearchQuery(SearchQueryCombinable, Value):
template = '!!({})'.format(template)
return template, params
def _combine(self, other, connector, reversed):
combined = super()._combine(other, connector, reversed)
combined.output_field = SearchQueryField()
return combined
def __invert__(self):
return type(self)(self.value, config=self.config, invert=not self.invert)