diff --git a/lib/generators/sufia/templates/catalog_controller.rb b/lib/generators/sufia/templates/catalog_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/sufia/templates/catalog_controller.rb
+++ b/lib/generators/sufia/templates/catalog_controller.rb
@@ -367,6 +367,15 @@ class CatalogController < ApplicationController
   end
 
   protected
+
+  # Limits search results just to GenericFiles
+  # @param solr_parameters the current solr parameters
+  # @param user_parameters the current user-subitted parameters
+  def exclude_unwanted_models(solr_parameters, user_parameters)
+    solr_parameters[:fq] ||= []
+    solr_parameters[:fq] << "#{ActiveFedora::SolrService.solr_name("has_model", :symbol)}:\"info:fedora/afmodel:GenericFile\""
+  end
+
   def depositor 
     Solrizer.solr_name('depositor', :searchable, type: :string)
   end
Exclude non-GenericFile results from the search