|
|
@@ -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); |
|
|
|
} |