From aca0512926167048122ea2a979e335553b7f9afe Mon Sep 17 00:00:00 2001 From: Neel Suthar Date: Fri, 19 Jan 2024 17:03:51 -0600 Subject: [PATCH 1/2] Fix for Bug: Search sometimes shows the same snapshot twice #1193 Making sure the search results are unique --- archivebox/core/mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/core/mixins.py b/archivebox/core/mixins.py index 4711dd0e..08c14a64 100644 --- a/archivebox/core/mixins.py +++ b/archivebox/core/mixins.py @@ -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 From 3b19b59300d746d4a0b3f1470a71f4ed90a140d9 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 19 Jan 2024 18:35:01 -0800 Subject: [PATCH 2/2] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 91b56c22..e1917b6b 100644 --- a/README.md +++ b/README.md @@ -133,13 +133,12 @@ ls ./archive/*/index.json # or browse directly via the filesyste ## 🤝 Professional Integration -*[Contact us](https://zulip.archivebox.io/#narrow/stream/167-enterprise/topic/welcome/near/1191102) if your non-profit institution/org wants to use ArchiveBox professionally.* +*[Contact us](https://zulip.archivebox.io/#narrow/stream/167-enterprise/topic/welcome/near/1191102) if your institution/org wants to use ArchiveBox professionally.* - setup & support, team permissioning, hashing, audit logging, backups, custom archiving etc. - for **individuals**, **NGOs**, **academia**, **governments**, **journalism**, **law**, and more... -*All our work is open-source and primarily geared towards non-profits.* -*Support/consulting pays for hosting and funds new ArchiveBox open-source development.* +*We are a 501(c)(3) nonprofit and all our work goes towards supporting open-source development.*