Ordering results by two sorting filters

To order by two values i.e type and then date you need to use a comma to separate the values. See below:

Sort Parameters you can use include: desc, asc and modDate

  1. #set ($cont = $dotcontent.pull("+structureName:PressRelease",0,"PressRelease.type desc, PressRelease.pubDate desc"))  
comments powered by Disqus