Skip to content

Commit

Permalink
Allow onAfterreorderItems extra variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan SD committed Apr 24, 2018
1 parent b93a8f2 commit e15f176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GridFieldOrderableRows.php
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ protected function reorderItems($list, array $values, array $sortedIDs)
}
}

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

protected function populateSortValues(DataList $list)
Expand Down

0 comments on commit e15f176

Please sign in to comment.