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.
default: // "path" filterParams.variablePath = false; filterQuery = "+PATH:\"" + parsedArgs.pathNode.qnamePath + "/*\""; filterParams.query = filterQuery + filterQueryDefaults; //Adding sort parameters filterParams.sort = [ { column: "@{http://www.alfresco.org/model/content/1.0}name", ascending: true }, { column: "@{http://www.alfresco.org/model/content/1.0}modified", ascending: false } ]; break;
… "items": [ <#list doclist.items?sort_by("displayName") as item> { <@itemLib.itemJSON item=item /> }<#if item_has_next>,</#if> </#list> ] …
HelloIs anyone making "sort on the fly" functionality?If someone did, and if that 'somebody' want to share with ordinary dummy users , we (ordinary dummy users ) would be very grateful if we can see a description of the proceedings and all the necessary steps …Thank you in advance
case "datesort": var argMax = args.max; filterQuery = "+PATH:\"" + parsedArgs.rootNode.qnamePath + "//*\""; filterQuery += " +TYPE:\"content\""; filterParams.sort = [ { column: "@cm:" + dateField, ascending: false }]; filterParams.query = filterQuery; break;