Elasticsearch - Searchbox - Within current directory
Hey,
searching in the root directory doesn't give any result when using "within current directory". A searchquery is started but no results are shown.
I think the problem could come from this part of the code: private function searchQueryWithinDir(ISearchRequest $request) { $currentDir = $request->getOption('files_within_dir'); if ($currentDir === '') { return; }
Tested in files_fulltextsearch 1.2.5 and 1.2.8 on Nextcloud 15.0.4.
regards
chris
@aignerat As I checked on NC 19.0.5 there is no any results if checkbox within current directory active
i understand that it's not showstopper, but still there should be at least some warning