Open ebogaard opened 10 years ago
The problem with datalist results has been resolved in commit 7563bc9 (it was an exception showing file size)
To filter out folders the easiest way would be to specify a folder (for example by specifying a noderef or a path in config.js) and then adding the IN_TREE predicate to all queries and removing the leading part of the path.
We could also change this value at runtime, for example searching at login all the "documentLibrary" folders in sites and letting the user choose the site (or the whole repository) to browse from a dropdown
Thanks for fixing the crash on datalist-entries. That's a good enough work-around for now.
What I was talking about when I said 'filter out' certain folders, I meant not display those trees at all. When i read your comment, I think you thought I meant to not display the exta level that those system folders represent. Though those folders are in fact reasonably unnecessary, as all other interfaces show those folders as well, WebDav for example, I don;t think we need to change that.
I only ment not displaying anything of the tree of other systemfolders than documentLibrary, including those systemfolders. So for example, don't show datalists/*, including datalist itself.
Alfresco creates several system folders per Site. dataLists and discussions, for example. As only the documents in the documentLibrary are proper files, these other folders are quite useless in the HTML5-client. When searching for a keyword that exists in a datalist, the HTML5-app actually stops functioning, unless you do a hard refresh.
Is there any way to 'filter out' or exclude the display of these folders from normal view and search?