Skip to content

Commit

Permalink
Merge 92fb541 into 095fc51
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Mar 26, 2020
2 parents 095fc51 + 92fb541 commit 5a44224
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"php": "^7.1",
"doctrine/mongodb-odm": "^1.3 || ^2.0",
"doctrine/mongodb-odm-bundle": "^3.0 || ^4.0",
"sonata-project/admin-bundle": "^3.61",
"sonata-project/admin-bundle": "^3.62",
"sonata-project/core-bundle": "^3.17",
"symfony/config": "^3.4 || ^4.2",
"symfony/dependency-injection": "^3.4 || ^4.2",
Expand Down
2 changes: 0 additions & 2 deletions src/Model/ModelManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,6 @@ public function getPaginationParameters(DatagridInterface $datagrid, $page)
public function getDefaultSortValues($class)
{
return [
'_sort_order' => 'ASC',
'_sort_by' => $this->getModelIdentifier($class),
'_page' => 1,
'_per_page' => 25,
];
Expand Down

0 comments on commit 5a44224

Please sign in to comment.