mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
Text Search and Filters don't work at the same time in the web UI #1316 (#1333)
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Build GitHub Pages website / build (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Build GitHub Pages website / build (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
This commit is contained in:
commit
ce42472732
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue