Skip to content

Commit

Permalink
9157: Use the sorting event instead of the saving
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdemooij9 authored and nathanwoulfe committed Jul 22, 2021
1 parent 6116ec8 commit c86d3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Umbraco.Core/Services/Implement/ContentService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2388,7 +2388,7 @@ private OperationResult Sort(IScope scope, IContent[] itemsA, int userId, EventM
if (raiseEvents)
{
//raise cancelable sorting event
if (scope.Events.DispatchCancelable(Saving, this, saveEventArgs, nameof(Sorting)))
if (scope.Events.DispatchCancelable(Sorting, this, saveEventArgs, nameof(Sorting)))
return OperationResult.Cancel(evtMsgs);

//raise saving event (this one cannot be canceled)
Expand Down

0 comments on commit c86d3b1

Please sign in to comment.