Skip to content

1.7 Release

Compare
Choose a tag to compare
@ihorchepurnyi ihorchepurnyi released this 11 Nov 10:27
· 88 commits to master since this release

Changelog

  • Enh 045c336 : added new properties to ManageController, rename comment search class and move it to models\search folder.

Now you can override views files and comment search class in following way:

  'controllerMap' => [
      'comments' => [
          'class' => 'yii2mod\comments\controllers\ManageController',
          'searchClass' => [
              'class' => 'yii2mod\comments\models\search\CommentSearch',
              'pageSize' => 25
          ],
          'indexView' => 'custom path to index view file',
          'updateView' => 'custom path to update view file',
      ],
  ]