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.
1 parent d9f1475 commit dc40417Copy full SHA for dc40417
lib/query_helper.rb
@@ -281,7 +281,7 @@ def search_filter(column_maps)
281
placement = :where
282
maps = column_maps.select do |cm|
283
placement = :having if cm.aggregate
284
- @search_fields.include? cm.alias_name
+ @search_fields.map(&:downcase).include? cm.alias_name.downcase
285
end
286
bind_variable = ('a'..'z').to_a.shuffle[0,20].join.to_sym
287
@bind_variables[bind_variable] = "%#{@search_string}%"
0 commit comments