🐛 Display full registration table when the search bar is empty
This commit is contained in:
parent
94086505e6
commit
f8a4087e56
2 changed files with 6 additions and 10 deletions
|
|
@ -179,8 +179,6 @@ class FutureUserListView(ProtectQuerysetMixin, LoginRequiredMixin, SingleTableVi
|
|||
| Q(profile__section__iregex=pattern)
|
||||
| Q(username__iregex="^" + pattern)
|
||||
)
|
||||
else:
|
||||
qs = qs.none()
|
||||
|
||||
return qs[:20]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue