I have a TV 'meeting_start_date' w/ input in date format. Values are stored in the db like this:
2011-12-07 09:30:00
2012-01-18 08:28:14
I want to use getResources to grab a collection of resources and sort by this TV. This is my code, but it isn't working (seems to be sorting on last-modified or created date).
[!getResources?&tpl=`ups-meetingminutes`
&parents=`[[!personnel-getMeetingParent]]`
&includeTVs=`1`
&sortByTV=`meeting_start_date`
&sortbyTVType =`datetime`]]
Any idea what I'm doing wrong?
-
- 5,888 Posts
try it with:
&sortbyTV=`meeting_start_date`
sortbyTV, not sortByTV, is that the issue?