Commit 43f8c8d4 by Julien Jorry

Fix order on prestataire admin list

parent 5be8540f
......@@ -35,6 +35,15 @@ class PrestataireAdmin extends AbstractAdmin
protected $baseRouteName = 'prestataire';
protected $baseRoutePattern = 'prestataire';
protected $datagridValues = [
// reverse order (default = 'ASC')
'_sort_order' => 'DESC',
// name of the ordered field (default = the model's id field, if any)
'_sort_by' => 'updatedAt',
// '_page' => 1,
// '_per_page' => 32
];
public function configure()
{
parent::configure();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment