Skip to content

Commit

Permalink
Merge pull request #5 from WeAreKnit/master
Browse files Browse the repository at this point in the history
Put onAfterReorderItems data extension hook in
  • Loading branch information
stecman committed May 17, 2016
2 parents 98385a9 + 333afc7 commit f80bf0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/GridFieldVersionedOrderableRows.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ protected function reorderItems($list, array $values, array $order)
);
}
}

$this->extend('onAfterReorderItems', $list);

}
/**
* @param DataList $list
Expand Down Expand Up @@ -81,4 +84,4 @@ protected function populateSortValues(DataList $list)
);
}
}
}
}

0 comments on commit f80bf0d

Please sign in to comment.