Skip to content

Conversation

@kesselb
Copy link
Contributor

@kesselb kesselb commented Nov 19, 2025

Fix #11629

6e7b529

searchQuery is only mutated when entering a search term.
To apply is:starred (depending on the route), one must use the computed query property.

6c788ce

I noticed while testing that the view mode is not applied in fetchNextEnvelopes. Will do some more testing if that's on purpose or not.

Test cases:

  1. Switch to inbox
  2. Switch to favorite
  3. Enter a search term in inbox
  4. Enter a search term in favorites

The expected outcome is to see ?filter for all requests with the right value.

@kesselb
Copy link
Contributor Author

kesselb commented Nov 20, 2025

Will do some more testing if that's on purpose or not.

It looks like an oversight. For singleton, I assume we should also fetch the next page with singleton.

@kesselb kesselb requested a review from hamza221 December 1, 2025 16:19
@hamza221 hamza221 force-pushed the bug/11629/apply-search-query branch from e3394d1 to 4fe8329 Compare December 1, 2025 22:51
@hamza221
Copy link
Contributor

hamza221 commented Dec 1, 2025

rebased to make it testable (missing migrations)

Copy link
Contributor

@hamza221 hamza221 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, code makes sense

@kesselb
Copy link
Contributor Author

kesselb commented Dec 2, 2025

/backport to stable5.6

@kesselb kesselb merged commit 26f2e99 into main Dec 2, 2025
41 of 43 checks passed
@kesselb kesselb deleted the bug/11629/apply-search-query branch December 2, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Messages are not filtered in the favorites folder

3 participants