Merge pull request #10610 from rabbitmq/http-api-empty-sort-fix
Use default sorting when `?sort=` in MGMT API
This commit is contained in:
commit
97134d3a89
|
@ -276,6 +276,8 @@ get_sorts_param(ReqData, Def) ->
|
|||
case get_value_param(<<"sort">>, ReqData) of
|
||||
undefined ->
|
||||
Def;
|
||||
[] ->
|
||||
Def;
|
||||
S ->
|
||||
[S]
|
||||
end.
|
||||
|
|
Loading…
Reference in New Issue