mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-06-02 23:59:52 -04:00
Fix for Bug: Search sometimes shows the same snapshot twice #1193
Making sure the search results are unique
This commit is contained in:
parent
22eff07a11
commit
aca0512926
1 changed files with 1 additions and 1 deletions
|
@ -18,4 +18,4 @@ class SearchResultsAdminMixin:
|
|||
print(f'[!] Error while using search backend: {err.__class__.__name__} {err}')
|
||||
messages.add_message(request, messages.WARNING, f'Error from the search backend, only showing results from default admin search fields - Error: {err}')
|
||||
|
||||
return qs, use_distinct
|
||||
return qs.distinct(), use_distinct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue