Skip to content

Commit

Permalink
Remove advanced search controller
Browse files Browse the repository at this point in the history
- Per @kevinreiss, this behavior is no longer needed, either with or without the BlacklightAdvancedSearch gem
  • Loading branch information
maxkadel authored and sandbergja committed Sep 5, 2023
1 parent bc953f2 commit b638fc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
11 changes: 0 additions & 11 deletions app/controllers/advanced_controller.rb

This file was deleted.

7 changes: 1 addition & 6 deletions spec/requests/advanced_search_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@

require 'rails_helper'

describe 'Orangelight advanced search', type: :request do
describe 'Orangelight advanced search', type: :request, advanced_search: true do
before do
stub_holding_locations
end

it 'redirects search requests to the catalog search' do
get '/advanced?f[subject_facet][]=United+Nations-Decision+making&id=3681146&page=1&per_page=20'
expect(response.status).to eq(302)
expect(response).to redirect_to('/')
end
it 'renders the advanced search form' do
get '/advanced?f[subject_facet][]=United+Nations-Decision+making'
expect(response.status).to eq(200)
Expand Down

0 comments on commit b638fc0

Please sign in to comment.