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 authored and ofedoren committed Feb 3, 2022
1 parent d6c44dc commit 25c2497
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 25c2497

Please sign in to comment.