Skip to content

Commit 9e7525e

Browse files
committed
Fix primo advanced search link not working.
1 parent 5618780 commit 9e7525e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/controllers/primo_central_controller.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ def recaptcha
4848
end
4949
end
5050

51-
def advanced_override_path
52-
end
53-
5451
rescue_from ArticleNotFound, with: :invalid_document_id_error
5552
rescue_from Net::ReadTimeout, with: :net_read_timeout_rescue
5653

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
# advanced forms
1010
match "everything/advanced", to: "search#advanced_search", via: [:get, :post]
11+
match "articles/advanced", to: "primo_central#advanced_search", via: [:get, :post]
1112

1213
match "catalog/:id/purchase_order", to: "catalog#purchase_order_action", via: [:post], as: "purchase_order_action"
1314

@@ -130,7 +131,6 @@
130131
get "bento" => "search#index", :as => "multi_search"
131132
get "everything" => "search#index", :as => "everything"
132133
get "catalog/:id/staff_view", to: "catalog#librarian_view", as: "staff_view"
133-
get "articles_advanced", to: "primo_advanced#index", as: "legacy_articles_advanced_search"
134134

135135
get "catalog/:id/index_item", to: "catalog#index_item", as: "index_item"
136136
get "journals/:id/index_item", to: "journals#index_item", as: "journal_item"

0 commit comments

Comments
 (0)