Merge branch '4004-restore-dashboard-buttons' closes #4004
[arvados.git] / services / api / lib / record_filters.rb
index 100e9fc8e206d2b2d25d78a99d09a309aa4b9e10..9408dcfade120e5b68235f952eb980ef7c443c89 100644 (file)
@@ -40,7 +40,7 @@ module RecordFilters
           raise ArgumentError.new("Invalid attribute '#{attr}' in filter")
         end
         case operator.downcase
-        when '=', '<', '<=', '>', '>=', '!=', 'like'
+        when '=', '<', '<=', '>', '>=', '!=', 'like', 'ilike'
           attr_type = model_class.attribute_column(attr).type
           operator = '<>' if operator == '!='
           if operand.is_a? String