]> git.koha-community.org Git - koha.git/commit
Bug 13469 - Unapi path to XSLTs is wrong in OPAC
authorDavid Cook <dcook@prosentient.com.au>
Tue, 16 Dec 2014 01:53:18 +0000 (12:53 +1100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 19 Dec 2014 18:13:58 +0000 (15:13 -0300)
commitf1323e60a290cfe100773d6877c54731e6a45050
treeda0f2cd7aaa6b200686677b51b0e8bb3716fe55e
parente04b3ef0685f2bbe8a25b65181c937b8eb5e34d3
Bug 13469 - Unapi path to XSLTs is wrong in OPAC

The Unapi path to XSLTs is wrong in the OPAC.

Unfortunately, it's coded to work just for Git installs, which makes it
tough to test.

_TEST PLAN_

Before applying:
1) Go to
http://GIT-INSTALL/cgi-bin/koha/unapi?id=koha:biblionumber:1&format=oai_dc
2) If the biblionumber exists, it should show you the record in OAI_DC format.
3) Go to
http://REGULAR-INSTALL/cgi-bin/koha/unapi?id=koha:biblionumber:1&format=oai_dc
4) You should get a software error

Apply the patch.

After applying:
1) Refresh the page for
http://yourgitinstall/cgi-bin/koha/unapi?id=koha:biblionumber:1&format=oai_dc
2) It should work exactly the same as before.

Thorough testers:
1) Push the code to that regular test install
2) Try the link again. It will properly show the converted record now.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Verified that single install
intrahtdocs==/usr/share/koha/clone1712/intranet/htdocs/intranet-tmpl plus
"/prog/en/xslt/" is the location for the required xslt files.
Script unapi in git install is still fine.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
opac/unapi