Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop: Fixes #10586: Don't re-order the note list when in search #10587

Conversation

personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented Jun 13, 2024

Summary

This pull request fixes a regression (possibly introduced in f95ee68) that caused the note list to resort (incorrectly) when searching for notes.

This pull request prevents the note list from resorting while editing when viewing a search (see #10586). The previous behavior might be intended. If so, this pull request can be closed.

Fixes #10586.

Testing plan

  1. Search for a term with many results.
  2. Edit a note near the middle of the list.
  3. Wait several seconds.
  4. Verify that the note list doesn't update.

This has been tested successfully on Ubuntu 24.04.

@laurent22 laurent22 merged commit 8cf4ef8 into laurent22:dev Jun 14, 2024
10 checks passed
@laurent22
Copy link
Owner

The previous behavior wasn't intended I believe, so that looks good. Thanks for fixing this!

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.

Desktop: Search result changes when a note is edited
2 participants