diff --git a/module/Rubedo/src/Rubedo/Collection/Queries.php b/module/Rubedo/src/Rubedo/Collection/Queries.php index 8a30f02b2..67a3ff205 100644 --- a/module/Rubedo/src/Rubedo/Collection/Queries.php +++ b/module/Rubedo/src/Rubedo/Collection/Queries.php @@ -415,13 +415,16 @@ protected function _getFilterArrayForQuery($query) 'property' => $property, 'direction' => $value['sort'] ); - } else { - $sort[] = array( - 'property' => 'id', - 'direction' => 'DESC' - ); } } + + /* + * Add Default Sort On ID + */ + $sort[] = array( + 'property' => 'id', + 'direction' => 'DESC' + ); return array( "filter" => $filters,