rails-tables 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/tables/datatable.rb +3 -3
- data/lib/rails-tables/version.rb +1 -1
- metadata +1 -1
data/app/tables/datatable.rb
CHANGED
@@ -39,9 +39,9 @@ class_attribute :columns, :searches, :authorized_scopes, :match_any
|
|
39
39
|
self.authorized_scopes = [] if self.authorized_scopes.nil?
|
40
40
|
self.authorized_scopes += args
|
41
41
|
end
|
42
|
-
|
43
|
-
|
44
|
-
self.match_any =
|
42
|
+
self.match_any = true
|
43
|
+
def self.match_all_columns
|
44
|
+
self.match_any = false
|
45
45
|
end
|
46
46
|
|
47
47
|
private
|
data/lib/rails-tables/version.rb
CHANGED