Since Joplin 2.13.4, the search API searches by the note's ID (and so returns the original note) if the text search is unsuccessful. Per https://github.com/laurent22/joplin/issues/9769 this is currently intended behavior. This fixes the plugin to exclude a returned note if it's ID matches the original ID we were searching for.
As part of this, I had to update the plugin's API framework to be able to build. I made this as a separate commit within the pull request so it can be examined separately.
Since Joplin 2.13.4, the search API searches by the note's ID (and so returns the original note) if the text search is unsuccessful. Per https://github.com/laurent22/joplin/issues/9769 this is currently intended behavior. This fixes the plugin to exclude a returned note if it's ID matches the original ID we were searching for.
As part of this, I had to update the plugin's API framework to be able to build. I made this as a separate commit within the pull request so it can be examined separately.