Bug 21518: Material type "three-dimensional artifact" displays as "visual material"
authorOwen Leonard <oleonard@myacpl.org>
Wed, 31 Jul 2019 12:38:16 +0000 (12:38 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 9 Aug 2019 12:55:37 +0000 (14:55 +0200)
commitc3d3dada1f0cbe89ef4493c6ee26c6dfe3deb509
treee00d457709cbc279e2360f5b69146e31e2d56cff
parentd991ffdbee43984a592645a1b5624007bef96679
Bug 21518: Material type "three-dimensional artifact" displays as "visual material"

This patch makes a few corrections to the staff client MARC21 XSLT so
that the correct material type icons are displayed for pictures and
realia. The more-specific material type handling has been adapted from
the corresponding XSL files in the OPAC.

To test you must have default XSLT enabled and the DisplayIconsXSLT and
DisplayOPACiconsXSLT system preferences enabled.

 - Apply the patch and locate records with "type of record" specified in
   the leader as 'g', 'k', and 'r'.

   A sample MARC file will be attached to the bug report with one of
   each type of record. Import the records and search your catalog for
   "Bug_21518."

 - View the records in search results and their detail pages, both in
   the OPAC and the staff client. In all cases the correct material type
   icon should be displayed.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 88ff22bb5a5d535893cf238ae784bb62a5b7d676)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl
koha-tmpl/intranet-tmpl/prog/img/famfamfam/OB.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/PK.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/object.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/picture.png [new file with mode: 0644]
koha-tmpl/opac-tmpl/lib/famfamfam/PK.png [new file with mode: 0644]