lib/admino/query/dsl.rb in admino-0.0.8 vs lib/admino/query/dsl.rb in admino-0.0.9

- old
+ new

@@ -11,11 +11,11 @@ define_method name do search_field_by_name(name).value end end - def filter_by(name, scopes) - config.add_filter_group(name, scopes) + def filter_by(name, scopes, options = {}) + config.add_filter_group(name, scopes, options) end def sorting(*args) options = args.extract_options! config.add_sorting_scopes(args, options)