We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54c24bf commit 45a4d77Copy full SHA for 45a4d77
AdjacencyFullTreeDataAction.php
@@ -98,7 +98,7 @@ public function run()
98
99
if (false === $result = Yii::$app->cache->get($cacheKey)) {
100
$query = $class::find()
101
- ->orderBy($this->query_sort_order . ' ASC');
+ ->orderBy([$this->query_sort_order => SORT_ASC]);
102
103
if (count($this->whereCondition) > 0) {
104
$query = $query->where($this->whereCondition);
0 commit comments