]> git.koha-community.org Git - koha.git/commit
Bug 7489 - Implement DisplayOPACiconsXSLT for NORMARC XSLT
authorMagnus Enger <magnus@enger.priv.no>
Fri, 3 Feb 2012 08:57:32 +0000 (09:57 +0100)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 03:27:54 +0000 (22:27 -0500)
commitf8c8a6b4d6d8d8c3fd5ba262ea72bc7b0ac56349
tree3c27743a51bee5c4ccc1a1d41a39cd8c5f7ba20f
parent64d2dc8bbc9ad2823f1bc30058ee8076f6b4890a
Bug 7489 - Implement DisplayOPACiconsXSLT for NORMARC XSLT

This patch actually hides the whole line that contains the icon in the result
list, including "literary form" and "audience", but this is how the syspref
works for MARC21 too, so I'm sticking with that.

To test:
- Set marcflavour = NORMARC
- Set OPACXSLTResultsDisplay = on
- Set DisplayOPACiconsXSLT = show
- Check that icons and information about "Type", "Litterær form" and
  "MÃ¥lgruppe" are displayed in results, "Type" and the icon in detail
- Set DisplayOPACiconsXSLT = don't show
- Check that icons and information is not displayed in result or detail

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Test plan worked nicely. Patch works as advertised.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 0bc06f11a6e94b2c01593f29881c661cc6c03c59)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit 6b30e6d78d487896b66d8e1de8913e21010a0a44)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl