From dfa0dd069d45c2e2435a0977891d6a645a1451f9 Mon Sep 17 00:00:00 2001 From: Kosuke Tanabe Date: Sun, 18 Feb 2024 22:51:33 +0900 Subject: [PATCH] =?UTF-8?q?NDL=E3=82=B5=E3=83=BC=E3=83=81=E3=81=AE?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=83=9D=E3=83=BC=E3=83=88=E7=94=BB=E9=9D=A2?= =?UTF-8?q?=E3=81=AE=E6=A4=9C=E7=B4=A2=E3=83=AA=E3=83=B3=E3=82=AF=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20(#1864)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix search link in ndl_books index * fix default params for NDL Search * fix fixture file --- app/views/ndl_books/index.html.erb | 2 +- db/fixtures/enju_library/search_engines.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/ndl_books/index.html.erb b/app/views/ndl_books/index.html.erb index 684e346d66..17bbee2162 100644 --- a/app/views/ndl_books/index.html.erb +++ b/app/views/ndl_books/index.html.erb @@ -49,7 +49,7 @@ <% if @query.present? %> <% end %> diff --git a/db/fixtures/enju_library/search_engines.yml b/db/fixtures/enju_library/search_engines.yml index dc42db301c..d4d45757ca 100644 --- a/db/fixtures/enju_library/search_engines.yml +++ b/db/fixtures/enju_library/search_engines.yml @@ -1,9 +1,9 @@ search_engine_00001: id: 1 name: NDL Search - url: https://iss.ndl.go.jp - base_url: https://iss.ndl.go.jp/books + url: https://ndlsearch.ndl.go.jp + base_url: https://ndlsearch.ndl.go.jp/search http_method: get - query_param: any - note: + query_param: keyword + additional_param: "cs=bib\r\nf-ht=ndl\r\ndisplay=panel" position: 1