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.
classpath:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/filters.lib.js
var filterParams = { … sortBy: "@{http://www.alfresco.org/model/content/1.0}name", sortByAscending: true, … }
… sortBy: "@{http://www.alfresco.org/model/content/1.0}name", sortByAscending: true, …
default: var filterQuery = "+PATH:\"" + parsedArgs.parentNode.qnamePath + "/*\""; filterQuery += " -ASPECT:\"{http://www.alfresco.org/model/content/1.0}workingcopy\""; filterParams.query = filterQuery; break;
default: var filterQuery = "+PATH:\"" + parsedArgs.parentNode.qnamePath + "/*\""; filterQuery += " -ASPECT:\"{http://www.alfresco.org/model/content/1.0}workingcopy\""; filterQuery.sortBy = "@{http://www.alfresco.org/model/content/1.0}name"; filterQuery.sortByAscending = true; filterParams.query = filterQuery; break;
I was wondering if someone got this working without changing the filters.lib.js in the deployed war. I'm trying to do the same thing (well, for action-sets.lib.js actually), but I can't seem to get it to override the default…Regards,Michael