projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove assertion testing for obsolete output_is_persistent field. refs #3342
[arvados.git]
/
services
/
api
/
lib
/
record_filters.rb
diff --git
a/services/api/lib/record_filters.rb
b/services/api/lib/record_filters.rb
index 100e9fc8e206d2b2d25d78a99d09a309aa4b9e10..9408dcfade120e5b68235f952eb980ef7c443c89 100644
(file)
--- a/
services/api/lib/record_filters.rb
+++ b/
services/api/lib/record_filters.rb
@@
-40,7
+40,7
@@
module RecordFilters
raise ArgumentError.new("Invalid attribute '#{attr}' in filter")
end
case operator.downcase
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
attr_type = model_class.attribute_column(attr).type
operator = '<>' if operator == '!='
if operand.is_a? String