]> git.koha-community.org Git - koha.git/commit
Bug 10647 - Make OPAC MARC plain view work for all flavours of MARC
authorMagnus Enger <magnus@enger.priv.no>
Fri, 7 Mar 2014 08:10:49 +0000 (09:10 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 12 Jun 2014 08:42:20 +0000 (10:42 +0200)
commitdcc953b3cd82fb606ce090282b4ea4f053eee011
treec6fb28256ca01ea2e147e6e0e697892ece23b4be
parent930b52395438531911ceec64a09cb476f0e3f912
Bug 10647 - Make OPAC MARC plain view work for all flavours of MARC

On "MARC view" in the OPAC, clicking on "Plain view" does not work
for UNIMARC and NORMARC.

To test:
- Make sure you have a UNIMARC or NORMARC setup
- Go to the "MARC view" of a record in the OPAC
- Click on "view plain" and observe the "Sorry, plain view is
  temporarily unavailable." error message
- Apply the patch
- Click on "view plain" and observe that a plain view of the MARC
  record is now displayed
- Sign off

I have only tested this on NORMARC, it might be good if someone
can test on UNIMARC.

Updated 2014-03-13: Incoroprates changes suggested by Marcel.
Test plan is the same as before.

Updated 2014-03-13: Tested in my UNIMARC system.
toggled opactheme to all three values, with OPACXSLTDetailsDisplay
and OPACXSLTResultsDisplay both set to default.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested with MARC21 and UNIMARC, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit b4f5fee48cccec9f1fe6f403333f11ae0349d8e7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACMARCdetail.xsl [deleted file]
koha-tmpl/opac-tmpl/bootstrap/en/xslt/plainMARC.xsl [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACMARCdetail.xsl [deleted file]
koha-tmpl/opac-tmpl/prog/en/xslt/plainMARC.xsl [new file with mode: 0644]
opac/opac-showmarc.pl