mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ALF-10826
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -61,6 +61,8 @@ import org.alfresco.service.cmr.search.SearchService;
|
||||
import org.alfresco.service.cmr.security.PermissionService;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.service.namespace.RegexQNamePattern;
|
||||
import org.alfresco.util.FileFilterMode;
|
||||
import org.alfresco.util.FileFilterMode.Client;
|
||||
import org.alfresco.web.app.Application;
|
||||
import org.alfresco.web.app.context.IContextListener;
|
||||
import org.alfresco.web.app.context.UIContextService;
|
||||
@@ -915,7 +917,17 @@ public class BrowseBean implements IContextListener, Serializable
|
||||
parentRef = new NodeRef(Repository.getStoreRef(), parentNodeId);
|
||||
}
|
||||
|
||||
List<FileInfo> children = this.getFileFolderService().removeHiddenFiles(this.getFileFolderService().list(parentRef));
|
||||
List<FileInfo> children = null;
|
||||
FileFilterMode.setClient(Client.webclient);
|
||||
try
|
||||
{
|
||||
children = this.getFileFolderService().list(parentRef);
|
||||
}
|
||||
finally
|
||||
{
|
||||
FileFilterMode.clearClient();
|
||||
}
|
||||
|
||||
this.containerNodes = new ArrayList<Node>(children.size());
|
||||
this.contentNodes = new ArrayList<Node>(children.size());
|
||||
|
||||
@@ -2381,7 +2393,7 @@ public class BrowseBean implements IContextListener, Serializable
|
||||
|
||||
/** The file folder service */
|
||||
private transient FileFolderService fileFolderService;
|
||||
|
||||
|
||||
/** The Multilingual Content Service */
|
||||
private transient MultilingualContentService multilingualContentService;
|
||||
|
||||
|
Reference in New Issue
Block a user