Commit 5c73e1f9 by semenov

Изменение сортировки к версии 2.3.5

parent 7252821c
......@@ -105,7 +105,7 @@ class Form2Form extends Core
*/
public function getForm2FormProperties()
{
return $this->hasMany(Form2FormProperty::className(), ['form_id' => 'id'])->orderBy(['priority' => SORT_DESC]);
return $this->hasMany(Form2FormProperty::className(), ['form_id' => 'id'])->orderBy(['priority' => SORT_ASC]);
}
......
......@@ -80,7 +80,7 @@ use skeeks\cms\modules\admin\widgets\Pjax;
'sort' => [
'defaultOrder' =>
[
'priority' => SORT_DESC
'priority' => SORT_ASC
]
],
......
......@@ -32,7 +32,7 @@ use common\models\User;
'sort' => [
'defaultOrder' =>
[
'priority' => SORT_DESC
'priority' => SORT_ASC
]
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment