Skip to content

Commit

Permalink
Solving sorting issue on the back-end of the menu manager.
Browse files Browse the repository at this point in the history
This issue was related to the sorting property.
  • Loading branch information
Victor Escobar committed Oct 17, 2014
1 parent d70e081 commit 68ba63a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,7 +55,7 @@ public function display($tpl = null)
// Preprocess the list of items to find ordering divisions.
foreach ($this->items as $item)
{
$this->ordering[$item->parent_id][] = $item->id;
$this->ordering[$item->parent_id][$item->lft] = $item->id;

// Item type text
switch ($item->type)
Expand Down

0 comments on commit 68ba63a

Please sign in to comment.