Thursday 24 April 2008 5:00:44 am
Hi. My reply is for eZ4, but i don't think it would be much different in previous versions you will find it at kernel/classes/ezrssexportitem.php There you can search for this function
static function fetchNodeList( $rssSources, $objectListFilter )
In that function you'll find
$listParams = array( 'Limit' => $objectListFilter['number_of_objects'],
'SortBy' => array( 'published', false )
);
You can change "SortBy" there. Anyway, this is only a hack. I prefer not to hack ezpublish kernel clasess. Maybe i would do an extensions (Basically copying this classes) and so, you will no have problems if you want to upgrade ez in the future. Hope it helps.
|