Skip to content

Clear active search when switching feeds or folders - #1694

Open
xhon-pelushi wants to merge 1 commit into
nextcloud:masterfrom
xhon-pelushi:fix/clear-search-on-feed-switch-1596
Open

Clear active search when switching feeds or folders#1694
xhon-pelushi wants to merge 1 commit into
nextcloud:masterfrom
xhon-pelushi:fix/clear-search-on-feed-switch-1596

Conversation

@xhon-pelushi

Copy link
Copy Markdown

Summary

  • Clear the active SearchView when switching feeds or folders from the drawer.
  • Prevents a leftover query from filtering a different list (for example All unread after searching one feed).

Fixes #1596

Test plan

  • Open a feed, search, open a result, go back.
  • Select All unread from the drawer — search field should clear and the unread list should not stay filtered.
  • Pull-to-refresh on All unread shows all unread items.
  • Searching within a single feed still works as before.

A leftover SearchView query continued to filter after navigating to
another list (e.g. All unread), so refresh showed old search results.

Fixes nextcloud#1596

Signed-off-by: xhon-pelushi <xhon@pelushi.com>
@xhon-pelushi
xhon-pelushi force-pushed the fix/clear-search-on-feed-switch-1596 branch from 96666a3 to 99c76e0 Compare August 12, 2026 05:19
@David-Development

Copy link
Copy Markdown
Member

Hi @xhon-pelushi - Thank you for the contribution! I've already pushed a fix for this a couple weeks ago. Did you test that? Where you still able to reproduce the issue?

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.

Search term is not sufficiently cleared

2 participants