Hello! Ecscuse me for my English. I need your help. While pagination (passing to other page) of the table (widget booster.widgets.TbExtendedGridView) don’t work csrf-validation (it is enabled in config). This is fragment of code of form:
p
$form = $this->beginWidget('booster.widgets.TbActiveForm',[
'id' => 'admin_search_designers_form',
'action' => Yii::app()->createUrl($this->route, [Yii::app()->request->csrfTokenName => Yii::app()->request->csrfToken]),
'htmlOptions' => [
Yii::app()->request->csrfTokenName => Yii::app()->request->csrfToken
]
]);
This is fragment of code of CSqlDataProvider:
$developers = new CSqlDataProvider($sql,[
'totalItemCount' => $ccount,
'keyField' => 'id',
'sort' => [
'defaultOrder' => "id asc",
],
'pagination' => [
'pageSize' => 1,
]
]);
I think that in pagination it need insert more parameters to send csrf-token by get-method. Tell me please what can I do.