Skip to content

Commit

Permalink
Fixes #34381 - Change example for --order
Browse files Browse the repository at this point in the history
  • Loading branch information
adiabramovitch committed Feb 2, 2022
1 parent 0601bca commit 2697202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v2/base_controller.rb
Expand Up @@ -18,7 +18,7 @@ class BaseController < Api::BaseController

def_param_group :search_and_pagination do
param :search, String, :desc => N_("filter results")
param :order, String, :desc => N_("Sort and order by a searchable field, e.g. 'id DESC'")
param :order, String, :desc => N_("Sort and order by a searchable field, e.g. '<field> DESC'")
param_group :pagination, ::Api::V2::BaseController
end

Expand Down

0 comments on commit 2697202

Please sign in to comment.