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 name
var 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
Thanks,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.