1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-18 12:21:42 +02: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

View File

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