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

Commit

Permalink
Merge 0d70d97 into b9974ec
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Mar 26, 2020
2 parents b9974ec + 0d70d97 commit ed94111
Showing 1 changed file with 1 addition and 2 deletions.
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 ed94111

Please sign in to comment.