Hello,
I have a getPage call like this:
[[!getPage@pageNav?
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&sortbyTV=`dateOfEvent`
&sortdirTV=`DESC`
&sortby=`createdon`
&sortdir=`DESC`
&element=`getResources`
&parents=`5, 11`
&tpl=`newsLandingPage`
&limit=`3`
]]
dateOfEvent and createdon are dates. The problem is, that it first shows all resources with dateOfEvent specified, in descending order. Then all resources which don't have dateOfEvent specified are shown in descending order. Can I somehow make it work, that it sorts both kinds of resources descending by date?
I also searched for manipulation of createdon date, but I could only find a solution for modx evolution.
Thanks in advance
Best regards
Sven