Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 41c39f3

Browse files
authored
Merge pull request #1755 from akatsoulas/group-search-results
Group similar objects into a query.
2 parents c9514fc + bb464e5 commit 41c39f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mozillians/phonebook/forms.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,5 +549,4 @@ def search(self):
549549
# Filter only visible groups.
550550
query.add(SQ(**{'visible': True}), SQ.OR)
551551

552-
sqs = sqs.filter(query)
553-
return sqs
552+
return sqs.filter(query).load_all()

0 commit comments

Comments
 (0)