diff --git a/app/controllers/content_search_controller.rb b/app/controllers/content_search_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/content_search_controller.rb
+++ b/app/controllers/content_search_controller.rb
@@ -312,9 +312,16 @@ class ContentSearchController < ApplicationController
                   {:terms => {:enabled => [true]}}]
     conditions << {:terms => {:product_id => product_ids}} unless product_ids.blank?
 
+    #get total repos
+    found = Repository.search(:load => true) do
+      query {string term, {:default_field => 'name'}} unless term.blank?
+      filter "and", conditions
+      size 1
+    end
     Repository.search(:load => true) do
       query {string term, {:default_field => 'name'}} unless term.blank?
       filter "and", conditions
+      size found.total
     end
   end
<I> - fixing issue where only <I> repos would appear on content search