Bug 7696 - NORMARC lacks staff results XSLT
authorMagnus Enger <magnus@enger.priv.no>
Thu, 15 Mar 2012 19:10:47 +0000 (20:10 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 20 Mar 2012 10:24:45 +0000 (11:24 +0100)
commitaac5379b22ba123e3f577c949f05dc904d32d687
tree07a75b37e6b76c5d29be3380d18fa58fe4bcb59c
parent24dc37a4906eaed9e113d717c6c9bb963c0cf854
Bug 7696 - NORMARC lacks staff results XSLT

This patch adds NORMARCslim2intranetResults.xsl, to enable XSLT display
of intreanet search results when marcflavour = NORMARC. Most of the
logic is copied verbatim from NORMARCslim2OPACResults.xsl.

To test:

Make sure you have these system preferences set:
marcflavour = NORMARC
XSLTResultsDisplay  = using XSLT stylesheet

NORMARC and MARC21 is similar enough that testing on MARC21 records should
be OK. (I don't expect anyone to do detailed testing of a lot of the different
positions in leader, 007, 008 etc...)

Before the patch: viewing results in the staff client should give an error
message about a missing XSLT file.

After the patch: Record details should be displayed in the search results,
similar to how it is done for MARC21.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl [new file with mode: 0644]