Bug 7489 - Implement DisplayOPACiconsXSLT for NORMARC XSLT
authorMagnus Enger <magnus@enger.priv.no>
Fri, 3 Feb 2012 08:57:32 +0000 (09:57 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 17 Feb 2012 08:55:16 +0000 (09:55 +0100)
commit0bc06f11a6e94b2c01593f29881c661cc6c03c59
tree72beda2ce19095e5b3d79ae6a747219886d3a178
parentd9d364516b0bd5363c95b134520bb0379836be51
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>
koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl