Skip to content

Commit

Permalink
Merge pull request #10614 from rabbitmq/mergify/bp/v3.13.x/pr-10610
Browse files Browse the repository at this point in the history
Use default sorting when `?sort=` in management/HTTP API (backport #10610)
  • Loading branch information
michaelklishin authored Feb 26, 2024
2 parents e728767 + 0a9695b commit 43893a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/rabbitmq_management/src/rabbit_mgmt_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ get_sorts_param(ReqData, Def) ->
case get_value_param(<<"sort">>, ReqData) of
undefined ->
Def;
[] ->
Def;
S ->
[S]
end.
Expand Down

0 comments on commit 43893a6

Please sign in to comment.