Search file name from top file gallery doesn't find it when it is in child
- Status
- Open
- Subject
- Search file name from top file gallery doesn't find it when it is in child
- Version
- 20.x
21.x - Category
- Error
- Less than 30-minutes fix
- Feature
- File Gallery (elFinder or standard UI)
- Resolution status
- New
- Submitted by
- Xavier de Pedro
- Lastmod by
- Xavier de Pedro
- Rating
- Description
At the File Gal UI, when you search for a file name (search string "foo", file name "my foo file") you get no results if the file is in a child file galery and not in the top one (file gal 1).
If you go to the child file gallery, and search again, you will find the file. But the problem is in production sites, with many files in many file galleries, and someone wants to replace a file with a new version of that file, you need to find where that file is, and most users look for file name strings in the search box to find files in the File Gallery UI (new users don't search for file id, which would work, but that is another story).
If you search the same string in the tiki search module (using unified search index) against object type "files", then you find that file with no problems.
So apparently, the search form in the file gallery when you are in th etop file gallery should include by default all child file galleries to get the expected results (oh well, this is just an educated guess)
FYI
P.S: We are not using elfinder since it was affected by other CSRF bugs, and afaik, you can't replace a file with a new version while keeping the same file id, throgh elfinder UI.
P.S.S: The CSRF bugs should be fixed now with r70908
- Importance
- 6
- Easy to solve?
- 8
- Priority
- 48
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7178
- Created
- Wednesday 18 September, 2019 13:37:21 UTC
by Xavier de Pedro - LastModif
- Sunday 10 November, 2019 18:20:03 UTC