I'm trying to sort a list by a date with getresources 1.4.2 in Revo 2.2.
The date are in a tv, and the input type are... date. The output type are also set as a date.
The snippet call are:
[[getResources:default=`Nothing found`?
&parents=`4,11,19,22,1429,1200,38`
&tpl=`chk-tpl-upcoming-course-list`
&where=`{"template:=":49}`
&showHidden=`1`
&includeTVs=`1`
&processTVs =`1`
&tvFilters=`tv-course-start==%`
&limit=`10`
&tvPrefix =``
&sortbyTV=`tv-course-start`
&sortdirTV=`ASC`
&sortbyTVType=`datetime`
&sortby=``
&includeContent=`0`
&cacheResults=`1`
&cacheTime=`1440`
&debug=`1`
]]
- but the output are not sorted!
I hope that there are somebody who can see the error in the above!
I had checked the database, and it seems to me, that the date are correct, but are of the type of string, instead of unixtime - but I can't figure out if that is the problem?
(I could not find a specific forum for getresources 1.4.2, and if I have missed it, I am sorry and hope that someone can move this to the right place!)