Merge branch 'master' into 1969-persistent-switch
[arvados.git] / services / api / app / controllers / application_controller.rb
index 713f2cf8e4017e78f768fafc973034b1a4bdb604..e1b8fc914467b192b9b0b762d152b554185f50d1 100644 (file)
@@ -315,6 +315,9 @@ class ApplicationController < ActionController::Base
               value[0] == 'contains' then
             ilikes = []
             model_class.searchable_columns('ilike').each do |column|
+              # Including owner_uuid in an "any column" search will
+              # probably just return a lot of false positives.
+              next if column == 'owner_uuid'
               ilikes << "#{ar_table_name}.#{column} ilike ?"
               conditions << "%#{value[1]}%"
             end