Bug 22677: Include hint to OAI page path on OAI-PMH preference
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 14 Oct 2019 20:28:45 +0000 (22:28 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 10 Dec 2019 22:52:07 +0000 (22:52 +0000)
This copies the way we are doing it for othe rprefs (ILSDI and similar)
and adds a hint to the description to make it easier to find the
right path for the OAI server.

To test:
- Apply patch
- Verify that the system preference for OAI-PMH includes
  now a hint to: /cgi-bin/koha/oai.pl?verb=Identify
- Verify the hint is correct (add OPAC base URL)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 626811814c3ab8b363d2c181e148910205e560f9)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref

index 242a0ed..ae99ace 100644 (file)
@@ -30,7 +30,7 @@ Web services:
                   yes: Enable
                   no: Disable
             - "Koha's"
-            - '<a href="http://www.openarchives.org/pmh/">OAI-PMH</a> server.'
+            - '<a href="http://www.openarchives.org/pmh/">OAI-PMH</a> server. (available at: /cgi-bin/koha/oai.pl?verb=Identify)'
         -
             - Identify records at this site with the prefix
             - pref: "OAI-PMH:archiveID"