As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I want sort document view on left panel based on created date of folder not by name in ascending order. Please find screenshot for reference.
I want to sort months folder(MARKED IN RED) based on created date i.e. September created first then October and so on like in document library on right side . Can any one help me to fix this sorting issue.
Thanks,
Shashank Tyagi
Hi,
Path : templates\webscripts\org\alfresco\slingshot\documentlibrary\treenode.get.js
You can modify and override treenode.get.js file and set cm:created instead of cm:name to get folder base on sorting order.
// Look for folders in the pathNode - sort by ascending namevar pagedResult = parsedArgs.pathNode.childFileFolders(false, true, ignoredTypes, 0, maxItems, 0, "cm:name", true,
"TODO");
This file is reside within jar.
alfresco-share-services-5.2.e\alfresco\templates\webscripts\org\alfresco\slingshot\documentlibrary\treenode.get.js
Contcentric