From 9823345a74085566afd8a064969e7b25ca4bb5a0 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sun, 21 Jan 2018 23:08:53 +0300 Subject: [PATCH] Fixes #6391: Added note clarifying config for ListView pager and sorter [skip ci] --- framework/widgets/BaseListView.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/widgets/BaseListView.php b/framework/widgets/BaseListView.php index 7666976..88686e8 100644 --- a/framework/widgets/BaseListView.php +++ b/framework/widgets/BaseListView.php @@ -40,14 +40,14 @@ abstract class BaseListView extends Widget * @var array the configuration for the pager widget. By default, [[LinkPager]] will be * used to render the pager. You can use a different widget class by configuring the "class" element. * Note that the widget must support the `pagination` property which will be populated with the - * [[\yii\data\BaseDataProvider::pagination|pagination]] value of the [[dataProvider]]. + * [[\yii\data\BaseDataProvider::pagination|pagination]] value of the [[dataProvider]] and will overwrite this value. */ public $pager = []; /** * @var array the configuration for the sorter widget. By default, [[LinkSorter]] will be * used to render the sorter. You can use a different widget class by configuring the "class" element. * Note that the widget must support the `sort` property which will be populated with the - * [[\yii\data\BaseDataProvider::sort|sort]] value of the [[dataProvider]]. + * [[\yii\data\BaseDataProvider::sort|sort]] value of the [[dataProvider]] and will overwrite this value. */ public $sorter = []; /**