02-18-2009 02:04 AM
02-18-2009 03:59 AM
classpath:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/filters.lib.js
At the top of the script is the default sort order:var filterParams =
{
…
sortBy: "@{http://www.alfresco.org/model/content/1.0}name",
sortByAscending: true,
…
}
02-18-2009 01:18 PM
…
sortBy: "@{http://www.alfresco.org/model/content/1.0}name",
sortByAscending: true,
…
02-18-2009 03:51 PM
02-20-2009 02:42 AM
04-02-2009 12:33 PM
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;
04-02-2009 04:10 PM
04-02-2009 06:29 PM
03-02-2010 10:33 AM
08-31-2012 04:21 AM
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
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.