Skip to content
Browse files

added order to sql query for reused containers

The order of rows is important for parsing the container correctly. So this commit fixes an edge case (no idea why that didn't come up earlier)
  • Loading branch information...
mkernel committed Jun 14, 2019
1 parent b26553a commit 9691816f12c6a59ea11c1b71b9d296372935552f
Showing with 1 addition and 0 deletions.
  1. +1 −0 classes/grid_db.php
@@ -407,6 +407,7 @@ public function loadReuseContainer($container)
left join ".$this->prefix."grid_box_style grid_box_style
where grid_container.grid_id=-1 and grid_container.grid_revision=0 and$container
order by grid_container2slot.weight asc, grid_slot2box.weight asc

0 comments on commit 9691816

Please sign in to comment.
You can’t perform that action at this time.