I have a question about the functionality of file searching when inserting media on a page.
On our SilverStripe 3.1 instance, uploading files is no problem. We have many files, organized into many directories and subdirectories.
However, when we try the search via the magnifying glass, and entering a file we know exists on the filesystem in a subdirectory, the search result just shows the entire directory tree of our /assets directory (just directory names in the tree, not files as well), rather than a single result of the file in question. The magnifying glass I refer to is the one reached by the drop down menu parallel with 1> Find in Folder , when one clicks the directory next to the Find in Folder (maybe Uploads is the default), the entire tree is listed with a search box on top of the tree.
There is a 2nd magnifying glass parallel with the 'Name' column under the 1> Find in Folder [directory dropdown]
If one has Uploads listed in the Find in Folder dropdown and enter a known filename in that 2nd magnifying glass, the result is a table with 1 column 'Name' and "No items found" in the result row.
Can someone describe accurately, in detail, how the insert media file search is supposed to work?
- Is it supposed to do an actual search (tree traversal? I know in the database File table files are stored as IDs with a column for the filesystem path)
- Is it just supposed to be a filter on the filenames for whatever folder the user selects in Find in Folder?
- Does it only return directory names and not file names?
It doesn't seem well documented under :
https://userhelp.silverstripe.org/en/3.1/creating_pages_and_content/working_with_images_and_documents/
except that "Additionally, you can use the provided search box to search by the image's filename." My experience is that it does not behave the way I might expect search to work. This in turn needs to be explained clearly to our users of course.
Is it a typo? As in should it say 'Find Folder' instead of 'Find in Folder' ?
I've looked at the File table in the database but this doesn't clear up how things are supposed to work in the Insert Media file picker.
Since if we search for a directory name that is a subdirectory, say a date '2011', subfolders that have '2011' in their name come back in the result tree.
Is the insert media button in SilverStripe 3.1 specific to TinyMCE or is this somewhat modified for SilverStripe?
Any idea if a TinyMCE 3.x plugin like MoxieManager works without modification?
Thanks for any deeper insight.
These seems to be the case even in