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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 5 Aug 2019 10:27:58 +0000 (11:27 +0100)
commit88ff22bb5a5d535893cf238ae784bb62a5b7d676
treedbf36762ddb00c178f8a88fce1ac5052eeb36850
parent0c4112a200bfdcdbdba4ce7870aeced1f960cfd9
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>
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]