mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Merge pull request #3091 from Deltik/fix-3086
Removed pointless second sort in e_tree_model
This commit is contained in:
commit
5216eda6e4
@ -3617,7 +3617,7 @@ class e_tree_model extends e_front_model
|
||||
return "";
|
||||
}, $db_query)
|
||||
// Optimization goes with e_tree_model::moveRowsToTreeNodes()
|
||||
. " ORDER BY " . $this->getParam('sort_parent') . ", " . $this->getParam('sort_field');
|
||||
. " ORDER BY " . $this->getParam('sort_parent');
|
||||
$this->setParam('db_query', $db_query);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user