Ordering results by one filter / sort

To order a query using just one filter use the following code. (Notice the PressRelease.pubDate desc this is the sorting part):

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