mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-17 00:24:26 -04:00
Fix search to include filters
This commit is contained in:
parent
45e97ea278
commit
6b5c881555
2 changed files with 3 additions and 2 deletions
|
@ -18,6 +18,6 @@ class SearchResultsAdminMixin(object):
|
|||
except Exception as err:
|
||||
messages.add_message(request, messages.WARNING, f'Error from the search backend, only showing results from default admin search fields - Error: {err}')
|
||||
else:
|
||||
qs |= qsearch
|
||||
qs = queryset & qsearch
|
||||
finally:
|
||||
return qs, use_distinct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue