[Android] search only finds results in the current folder (and its sub-folders)
See original GitHub issueWhich version of floccus are you using?
4.17.1
Sync method
Nextcloud Bookmarks
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Brave 1.4.131 on Android 13
Which version of Nextcloud Bookmarks are you using? (if relevant)
No response
Which version of Nextcloud? (if relevant)
No response
What kind of WebDAV server are you using? (if relevant)
No response
Describe the Bug
The search only returns results from the currently selected bookmarks folder and its sub-folders.
Let’s say you have a bookmark for www.example.com
in folder A
and folder B
, which are both sub-folders of the root
folder. If you then navigate to folder B
inside the floccus Android App and then search for example
the search results will only include the bookmark from folder B
.
If the currently selected folder does not contain any bookmarks that match the search term, floccus will not display any results even if there are bookmarks in other folders that match the search term.
If however you are in the root
folder the search results will include both the bookmark from folder A
and the bookmark from folder B
.
Expected Behavior
The search should find results from all folders, not only the currently selected folder.
I would expect the search to return both bookmarks:
A/example.com
B/example.com
Regardless of where in the bookmarks folder structure I am at the moment.
To Reproduce
Steps to reproduce
- Organise bookmarks in different folders. For example, create folders
A
andB
in theroot
folder, and add a bookmark forwww.example.com
to both foldersA
andB
. - In floccus Android, navigate to folder
root/B
. - Tap into search field in the top bar, and search for
example
.
Debug log provided
- I have provided a debug log file
Issue Analytics
- State:
- Created 10 months ago
- Comments:14 (9 by maintainers)
Nice, thanks for the explanation! How about we have multiple search results sections? First section is results inside the current folder, second second is results inside the current account, third section is results in all other accounts?
👍🏽 That would work for me.