Merge branch 'main' from workbench2.git
[arvados.git] / services / api / app / models / arvados_model.rb
index 33f950de3aede5b5b609436394561f256f8edaca..d910320ec0f56a6bdbc14572d82249a36039f9bb 100644 (file)
@@ -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