lib/admino/query/sorting.rb in admino-0.0.4 vs lib/admino/query/sorting.rb in admino-0.0.5

- old
+ new

@@ -5,11 +5,12 @@ module Admino module Query class Sorting attr_reader :params attr_reader :config + attr_reader :query_i18n_key - def initialize(config, params) + def initialize(config, params, query_i18n_key = nil) @config = config @params = ActiveSupport::HashWithIndifferentAccess.new(params) end def augment_scope(scope)