joplin
joplin copied to clipboard
Desktop: Fixes #9919: Command palette not showing note title
Fixes https://github.com/laurent22/joplin/issues/9919
Description
The search engine used in GoToAnything
is normalizing the content of the notes to help index and search content, but in this process, the original title of the note is never preserved. I'm modifying GoToAnything
aka command palette to load the original title to override the search engine result.
After fix:
Testing
1 - Create a note with a title with any special character or with upper case letters (e.g: "Uma Nota ãóç") 2 - Open the command palette and type the note title 3 - It should render the original title in the results and not a normalized version like it used (characters were "normalized", all lower case)
@laurent22 I made the modification that you suggested. I also added a comment explaining the behavior of SearchEngine.