Sfoglia il codice sorgente

[Administration] Utilisateurs > liste : configuration du nombre d'utilisateurs affichés par page

feature/souke
Guillaume Bourgeois 1 anno fa
parent
commit
a5edda9e7b
1 ha cambiato i file con 7 aggiunte e 4 eliminazioni
  1. +7
    -4
      backend/controllers/ProducerController.php

+ 7
- 4
backend/controllers/ProducerController.php Vedi File

@@ -176,12 +176,15 @@ class ProducerController extends BackendController
{
$producerCurrent = $this->getProducerCurrent();
$request = Yii::$app->request;
$entity = $request->post('entity');
$pageSize = $request->post('pagesize');

$this->getProducerContainer()->getProducerPageSizer()
->updatePagesize($producerCurrent, $entity, $pageSize);
if($request->isPost) {
$entity = $request->post('entity');
$pageSize = $request->post('pagesize');

$this->getProducerContainer()->getProducerPageSizer()
->updatePagesize($producerCurrent, $entity, $pageSize);
}
$referer = strtok(Yii::$app->request->referrer, "?");
return $this->redirect($referer);
}

Loading…
Annulla
Salva