Skip to content

Commit

Permalink
Fixed versions for blacklight
Browse files Browse the repository at this point in the history
  • Loading branch information
brittnylapierre committed Dec 1, 2023
1 parent 76ec697 commit f6c001e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 428 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ group :test do
gem "webdrivers"
end

gem 'blacklight', ">= 6.1"
gem 'blacklight', "= 8.0.1"

group :development, :test do
gem "solr_wrapper", ">= 0.3"
end
gem "rsolr", ">= 1.0", "< 3"
gem "bootstrap", "\~\>\ 5.1"
gem "sassc-rails", "~> 2.1"
gem "blacklight-marc", "~> 8.0"
gem "blacklight-marc", "= 8.1.0"
2 changes: 1 addition & 1 deletion app/components/legacy_ocr_search_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def initialize(documentId:, term:, prefix:)
@prefix = prefix
puts term.length
if @term.length != 0
rsolr = RSolr.connect :url => 'http://159.203.33.98:8983/solr/page'
rsolr = RSolr.connect :url => 'http://solr:8983/solr/page'
if term != "*:*"
@legacy_ocr_search_request= rsolr.get 'select', :params => {
:rows => 500,
Expand Down
6 changes: 3 additions & 3 deletions config/blacklight.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
load_defaults: 8.0.1
development:
adapter: solr
url: <%= ENV['SOLR_URL'] || "http://159.203.33.98:8983/solr/blacklight" %>
url: <%= ENV['SOLR_URL'] || "http://solr:8983/solr/blacklight" %>
test: &test
adapter: solr
url: <%= ENV['SOLR_URL'] || "http://159.203.33.98:8983/solr/blacklight" %>
url: <%= ENV['SOLR_URL'] || "http://solr:8983/solr/blacklight" %>
production:
adapter: solr
url: <%= ENV['SOLR_URL'] || "http://159.203.33.98:8983/solr/blacklight" %>
url: <%= ENV['SOLR_URL'] || "http://solr:8983/solr/blacklight" %>
157 changes: 0 additions & 157 deletions config/initializers/blacklight/solr/response/repository.rb

This file was deleted.

Loading

0 comments on commit f6c001e

Please sign in to comment.