When I’m calling Ditto with
[[!Ditto? &parents=`0` &display=`10` &filter=`searchable,1` &sortBy=`createdon` &sortDir=`DESC` &tpl=`recentUpdates` &depth=`100` ]]
, the output is correct list of articles ordered by date of creation.
But when call is like this:
[[!Ditto? &parents=`0` &display=`10` &filter=`searchable,1` &sortBy=`editedon` &sortDir=`DESC` &tpl=`recentUpdates` &depth=`100` ]]
, the output is «No documents found»!
I have no idea, why its behavior is so strange: the dates of last edit of all the articles contains valid values.
Does anybody seen this problem earlier?
MODx Revolution 2.0.0-pl rev7212 + Ditto 2.1.0 for MODx Revolution 2.0.0 / PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch / MySQL Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) / pdo_mysql Client API version => 5.1.41