Allow sorting by creation date for Content Loop

This commit is contained in:
Nicolas Léon
2014-05-18 13:43:56 +02:00
parent 811186f4aa
commit 957140a5b7

View File

@@ -178,7 +178,6 @@ class Content extends BaseI18nLoop implements PropelSearchLoopInterface
$search->clearOrderByColumns();
$search->addAscendingOrderByColumn('RAND()');
break(2);
//OMNIMOD
case "created":
$search->addAscendingOrderByColumn('created_at');
break;