We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bcc74a7 + 19d8a71 commit a19a9dbCopy full SHA for a19a9db
lib/ajax-datatables-rails/base.rb
@@ -99,7 +99,7 @@ def search_condition(column, value)
99
def aggregate_query
100
conditions = searchable_columns.each_with_index.map do |column, index|
101
value = params["sSearch_#{index}".to_sym]
102
- search_condition(column, value) if value
+ search_condition(column, value) unless value.blank?
103
end
104
conditions.compact.reduce(:and)
105
0 commit comments