Browse Source

Augmentation maxResultPerPage #684

develop
Fabien Normand 2 years ago
parent
commit
37a5a18de8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Controller/Product/ProductFamilyAdminController.php

+ 1
- 1
Controller/Product/ProductFamilyAdminController.php View File

public function configureCrud(Crud $crud): Crud public function configureCrud(Crud $crud): Crud
{ {
$crud = parent::configureCrud($crud); $crud = parent::configureCrud($crud);
$crud->setPaginatorPageSize(100);
if ($this->getRequestCrudAction() === ActionDefinition::SORT) { if ($this->getRequestCrudAction() === ActionDefinition::SORT) {
$crud->setDefaultSort(['position' => 'ASC']); $crud->setDefaultSort(['position' => 'ASC']);
} else { } else {

Loading…
Cancel
Save