]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Sat, 31 Aug 2019 05:43:03 +0000 (05:43 +0000)
commite751b86520ef07a6613dfeec8e3b672cc60bab16
treec2482bc063a92d571329a74b9e2150299d9f240c
parentcf43db0a224aa852cb85f240243d4293256b5ce0
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>
(cherry picked from commit c3d3dada1f0cbe89ef4493c6ee26c6dfe3deb509)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.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]