Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drdrew42 committed Feb 19, 2023
1 parent 3037f0c commit aa074ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/WeBWorK/ContentGenerator/Instructor/UserList.pm
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ sub filter_handler ($c) {
}

sub sort_handler ($c) {
$c->{primarySortField} = $c->param('action.sort.primary');
$c->{secondarySortField} = $c->param('action.sort.secondary');
$c->{ternarySortField} = $c->param('action.sort.ternary');

return $c->maketext(
'Users sorted by [_1], then by [_2], then by [_3]',
$c->maketext(FIELD_PROPERTIES()->{ $c->{primarySortField} }{name}),
Expand Down

0 comments on commit aa074ba

Please sign in to comment.