Please include options to both refresh and clear search. For refresh, this could be a button and/or pressing enter
in the search bar.
1 Like
I had this logged as a bug . Looks like our posts can be merged: Search results don't update when submitting the same search query consecutively
This may have been intended as a feature, but I’ve found it to be a bit frustrating when using the search panel for find/replace operations. I sometimes find myself searching for something, making an edit, and trying to “re-search” to have the instance filtered out.
Steps to reproduce
- Have some file (
foo.md
) with the contentsfoo
. - From the global search view, search for
foo
. - Change the contents of
foo.md
tobar
. - Re-focus the search input (leaving the search for
foo
) and press Enter.
Expected result
- No results found. (the previous match should now be filtered out given that the file has changed)
Actual result
- Nothing happens and
foo.md
still appears in the search results.
Environment
- Operating system: macOS
- Obsidian version: 0.7.6
Additional information
We will have an overhaul of the search in an upcoming release. Let me know if you have this after we release it.
3 Likes
Just a heads up that I’m still seeing the same behavior in 0.8.0 (with the revamped search)
Merged and will be coming in 0.8.2.
For clearing results, there seem to be another feature request for it: Clear search results
2 Likes