Skip to content

Commit

Permalink
Sorted job list
Browse files Browse the repository at this point in the history
  • Loading branch information
AFaust committed Oct 30, 2023
1 parent 5c6f598 commit c2c3bf3
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@ function buildScheduledJobsData()
}
}

jobTriggers.sort(function(a, b)
{
var res;
res = a.triggerGroup.localeCompare(b.triggerGroup);
if (res === 0)
{
res = a.triggerName.localeCompare(b.triggerName);
}
return res;
});

model.jobTriggers = jobTriggers;
model.locale = Packages.org.springframework.extensions.surf.util.I18NUtil.getLocale().toString();
}
Expand Down

0 comments on commit c2c3bf3

Please sign in to comment.