Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Merge f61861b into b9974ec
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Mar 26, 2020
2 parents b9974ec + f61861b commit 3e902b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -24,7 +24,7 @@
"php": "^7.1",
"doctrine/phpcr-bundle": "^1.3 || ^2.0",
"doctrine/phpcr-odm": "^1.4.2 || ^2.0",
"sonata-project/admin-bundle": "^3.61",
"sonata-project/admin-bundle": "^3.62",
"sonata-project/block-bundle": "^3.18.3",
"symfony-cmf/resource-rest-bundle": "^1.0.1",
"symfony-cmf/tree-browser-bundle": "^2.0",
Expand Down
3 changes: 1 addition & 2 deletions src/Model/ModelManager.php
Expand Up @@ -411,9 +411,8 @@ 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 3e902b9

Please sign in to comment.