@@ 224-226 (lines=3) @@ | ||
221 | ||
222 | $orderBy = []; |
|
223 | $orderBy["{$tableName}.[[{$this->depthAttribute}]]"] = SORT_ASC; |
|
224 | if ($this->sortable !== false) { |
|
225 | $orderBy["{$tableName}.[[{$this->behavior->sortAttribute}]]"] = SORT_ASC; |
|
226 | } |
|
227 | $orderBy["{$tableName}.[[{$this->itemAttribute}]]"] = SORT_ASC; |
|
228 | ||
229 | $query |
|
@@ 332-334 (lines=3) @@ | ||
329 | ||
330 | $orderBy = []; |
|
331 | $orderBy["{$tableName}.[[{$this->depthAttribute}]]"] = SORT_ASC; |
|
332 | if ($this->sortable !== false) { |
|
333 | $orderBy["{$tableName}.[[{$this->behavior->sortAttribute}]]"] = SORT_ASC; |
|
334 | } |
|
335 | $orderBy["{$tableName}.[[{$this->itemAttribute}]]"] = SORT_ASC; |
|
336 | ||
337 | $query |