mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-30 10:08:08 +08:00
Fix #7622: Allow yii\data\ArrayDataProvider to control the sort flags for sortModels through yii\data\Sort::sortFlags property
This commit is contained in:
@ -186,6 +186,12 @@ class Sort extends BaseObject
|
||||
*/
|
||||
public $urlManager;
|
||||
|
||||
/**
|
||||
* @var int Allow to control a value of the fourth parameter which will be
|
||||
* passed to [[ArrayHelper::multisort()]]
|
||||
* @since 2.0.33
|
||||
*/
|
||||
public $sortFlags = SORT_REGULAR;
|
||||
|
||||
/**
|
||||
* Normalizes the [[attributes]] property.
|
||||
|
||||
Reference in New Issue
Block a user