summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 1176bec8873..298ba512a3b 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -377,6 +377,7 @@ class Project < ActiveRecord::Base
.or(ptable[:description].matches(pattern))
)
+
namespaces = unscoped.select(:id)
.joins(:namespace)
.where(ntable[:name].matches(pattern))