mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-21 23:33:54 -04:00
Add back a comment that I accidentally removed in the last commit.
This commit is contained in:
@@ -128,6 +128,8 @@ class Organize_Controller extends Controller {
|
||||
access::required("edit", $album);
|
||||
|
||||
if ($album->sort_column != "weight") {
|
||||
// Force all the weights into the current order before changing the order to manual
|
||||
// @todo: consider making this a trigger in the Item_Model.
|
||||
item::resequence_child_weights($album);
|
||||
$album->sort_column = "weight";
|
||||
$album->sort_order = "ASC";
|
||||
|
||||
Reference in New Issue
Block a user