Hi,
I tried for hours now to create a simple archive for my ditto call, but failed. I even tried the very simplest calls, but they all lead to the same result; So I have a container (id=48) with all my documents inside, and another document (71) with the ditto call.
I have my documents sorted by a TV named `event-date` (Date, Unixtime), workes fine. But as soon as I want to sort the reflect call by the same date, I get the problem that all documents output the date 1.1.1970.
Ditto
[!Ditto? &id=`events-done` &parents=`48` &extenders=`dateFilter` &summarize=`10` &total=`20` &tpl=`aiqa_events` &dateFormat=`%d.%m.%Y` &language=`german` &sortBy=`event-date` &dateSource=`event-date` &filter=`event-date,@EVAL return time();,5|id,70,2|id,71,2`!]
Reflect
[!Reflect? &id=`events-done` &targetID=`71` &groupByYears=`1` &getDocuments=`1` &dittoSnippetParameters=`parents:48` &showItems=`1` &dateFormat=`%d.%m.%Y` &dateSource=`event-date`!]
Without the &dateSource parameter I get the published dates. But how can I create an archive with the event-date TV?
Thanks for any help!