X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/567ec845eb4d8b5a53b662ac56624395631f3637..95d0775bf6fa098871961fadb30aa4b052c6aa61:/services/api/app/models/arvados_model.rb diff --git a/services/api/app/models/arvados_model.rb b/services/api/app/models/arvados_model.rb index 33f950de3a..d910320ec0 100644 --- a/services/api/app/models/arvados_model.rb +++ b/services/api/app/models/arvados_model.rb @@ -156,7 +156,7 @@ class ArvadosModel < ApplicationRecord end def self.searchable_columns operator - textonly_operator = !operator.match(/[<=>]/) + textonly_operator = !operator.match(/[<=>]/) && !operator.in?(['in', 'not in']) self.columns.select do |col| case col.type when :string, :text