Skip to content

Commit

Permalink
remove vestigial @@record_sources
Browse files Browse the repository at this point in the history
  • Loading branch information
magibney committed Sep 10, 2020
1 parent 753fa74 commit b263a29
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/search_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ def with(blacklight_params = {})
super(params_copy)
end

@@record_sources = ['Brown', 'Chicago', 'Columbia', 'Cornell', 'Duke', 'Harvard', 'Penn', 'Princeton', 'Stanford', 'HathiTrust']

def add_cluster_params(solr_parameters)
if 'Include Partner Libraries' != blacklight_params.dig(:f, :cluster, 0)
solr_parameters[:fq] << '{!term tag=cluster ex=cluster f=record_source_f v=Penn}'
Expand Down

0 comments on commit b263a29

Please sign in to comment.