1
0
Fork 0
mirror of synced 2024-06-01 10:09:49 +12:00

Text Search and Filters don't work at the same time in the web UI #1316 (#1333)

This commit is contained in:
Nick Sweeting 2024-05-06 23:14:25 -07:00 committed by GitHub
commit ce42472732
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ class SearchResultsAdminMixin:
search_term = search_term.strip()
if not search_term:
return qs, use_distinct
return qs.distinct(), use_distinct
try:
qsearch = query_search_index(search_term)
qs = qs | qsearch