mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#1382
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1333
Author: @neel-suthar
Created: 1/21/2024
Status: ✅ Merged
Merged: 5/7/2024
Merged by: @pirate
Base:
dev← Head:issue1316📝 Commits (4)
279883dText Search and Filters don't work at the same time in the web UI #1316c6d644bMerge branch 'dev' into issue131627d5d1drevert queryset intersection back to union for search resultsef856e8Merge branch 'dev' into issue1316📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
archivebox/core/mixins.py(+1 -1)📄 Description
Making sure to return distinct results. Changing set operation to '&' to show the matching results from filters AND search term
Fixes: https://github.com/ArchiveBox/ArchiveBox/issues/1316
Summary
The fix involves adjusting the combination of filter and search results to avoid duplicates. Instead of using the "or" (|) operation, consider using a method that ensures the snapshots appearing in the result set satisfy both the filter conditions and the search term. This adjustment aims to eliminate duplicate entries in the combined result.
Before the fix:

After the fix:

Changes these areas
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.