Skip to content

fix(web): a group view (stack=/vstack=) now ignores every other filter - #40

Merged
charpy4n6 merged 1 commit into
mainfrom
fix/group-view-ignores-filters
Sep 5, 2026
Merged

charpy4n6 merged 1 commit into
mainfrom
fix/group-view-ignores-filters

Conversation

@charpy4n6

Copy link
Copy Markdown
Collaborator

"Show all in group" only bypassed "Collapse duplicates" - every other active filter (a leftover search box, category, kind, "Has faces", a list-view column filter, ...) still applied on top of the group filter. An examiner typically reaches a group by searching for or filtering down to the one file whose badge they right-clicked, so that leftover filter then intersected with the group and hid every sibling that didn't also happen to match it: a 19-member visual-stack group showed just the one file, because a still-active search term for that file's own name matched none of the other 18.

/api/files now treats stack=/vstack= as an explicit "show me this whole group" request and skips every other where-clause when either is present, not just collapse.

Tested: pytest tests -q - 176 passed, 3 skipped, 3 pre-existing failures reproduced identically on a clean origin/main checkout (unrelated: a search-fixture assertion and a missing local piexif install). Lint-changed gate clean. Built the frozen exe and smoke-tested --version.

🤖 Generated with Claude Code

"Show all in group" only bypassed "Collapse duplicates" - every other
active filter (a leftover search box, category, kind, "Has faces", a
list-view column filter, ...) still applied on top of the group filter.
An examiner typically reaches a group by searching for or filtering
down to the one file whose badge they right-clicked, so that leftover
filter then intersected with the group and hid every sibling that
didn't also happen to match it: a 19-member visual-stack group showed
just the one file, because a still-active search term for that file's
own name matched none of the other 18.

/api/files now treats stack=/vstack= as an explicit "show me this
whole group" request and skips every other where-clause when either is
present, not just collapse.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@charpy4n6
charpy4n6 merged commit cde3ae2 into main Sep 5, 2026
8 checks passed
@charpy4n6
charpy4n6 deleted the fix/group-view-ignores-filters branch September 5, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant