Skip to content

Commit

Permalink
Use different request handler for JSON Query DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja committed Aug 22, 2023
1 parent 1da0cc1 commit bc9901c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem 'alma'
gem 'babel-transpiler'
gem 'bcrypt_pbkdf'
# Blacklight
gem 'blacklight', '~> 7.0'
gem 'blacklight', github: 'pulibrary/blacklight', branch: 'release-7.x-with-json-dsl-request-handler'
# advanced search functionality
gem 'blacklight_advanced_search', '~> 7.0'
gem 'blacklight_dynamic_sitemap', '~> 0.6.0'
Expand Down
28 changes: 17 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
GIT
remote: https://github.com/pulibrary/blacklight.git
revision: a6f2e81ebcafd4781e74cc4fd20478e6e7ccdbde
branch: release-7.x-with-json-dsl-request-handler
specs:
blacklight (7.33.1)
deprecation
globalid
hashdiff
i18n (>= 1.7.0)
jbuilder (~> 2.7)
kaminari (>= 0.15)
ostruct (>= 0.3.2)
rails (>= 5.1, < 7.1)
view_component (>= 2.66, < 4)

GIT
remote: https://github.com/pulibrary/blacklight_unapi.git
revision: 79ac4bf1914f2b48ff7eae9fb79842e2c9cfff06
Expand Down Expand Up @@ -114,16 +130,6 @@ GEM
rubocop-performance
rubocop-rails
rubocop-rspec
blacklight (7.33.1)
deprecation
globalid
hashdiff
i18n (>= 1.7.0)
jbuilder (~> 2.7)
kaminari (>= 0.15)
ostruct (>= 0.3.2)
rails (>= 5.1, < 7.1)
view_component (~> 2.66)
blacklight-marc (8.1.0)
blacklight (>= 7.11, < 9)
library_stdnums
Expand Down Expand Up @@ -647,7 +653,7 @@ DEPENDENCIES
babel-transpiler
bcrypt_pbkdf
bixby (~> 5.0)
blacklight (~> 7.0)
blacklight!
blacklight-marc (~> 8.1)
blacklight_advanced_search (~> 7.0)
blacklight_dynamic_sitemap (~> 0.6.0)
Expand Down
1 change: 1 addition & 0 deletions app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class CatalogController < ApplicationController

# solr path which will be added to solr base url before the other solr params.
# config.solr_path = 'select'
config.json_solr_path = 'advanced'

# items to show per page, each number in the array represent another option to choose from.
# config.per_page = [10,20,50,100]
Expand Down

0 comments on commit bc9901c

Please sign in to comment.