forked from DGNum/gestioCOF
Forgot a warning
This commit is contained in:
parent
f9958e4da0
commit
b72ea9ebf9
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ from shared.autocomplete import ModelSearch
|
||||||
class Select2QuerySetView(ModelSearch, autocomplete.Select2QuerySetView):
|
class Select2QuerySetView(ModelSearch, autocomplete.Select2QuerySetView):
|
||||||
"""Compatibility layer between ModelSearch and Select2QuerySetView."""
|
"""Compatibility layer between ModelSearch and Select2QuerySetView."""
|
||||||
|
|
||||||
|
paginate_by = None
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
keywords = self.q.split()
|
keywords = self.q.split()
|
||||||
return super().search(keywords)
|
return super().search(keywords)
|
||||||
|
|
Loading…
Reference in a new issue