https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39517

--- Comment #1 from Janusz Kaczmarek <[email protected]> ---
Created attachment 180229
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180229&action=edit
Bug 39517: Make LDR/6-7 = 'am' be interpreted by MARC21slim2OPACDetail.xsl as
'Book' instead of more generic 'Text'

Currently, in OPAC, MARC21slim2OPACDetail.xsl assigns to LDR/6-7 =
'am' a label 'Text' (materialTypeLabel), which is then used in
defining variable schemaOrgType and also for display. The variable
schemaOrgType would be set to 'Book' if materialTypeLabel was 'Book',
but with the current xslt code never will be. Instead
schemaOrgType will be set to a generic type CreativeWork
for 'am'.

materialTypeLabel is also used for display purposes as
the label next to the material type icon (when
DisplayOPACiconsXSLT enabled).

Test plan:
==========
1. Make sure that DisplayOPACiconsXSLT is on.
2. In OPAC open any book record (e.g. in standard ktd - sn:1).
3. Note "Material type: [icon] Text" info below author line.
4. Apply the patch ; restart_all
5. Verify that you get "Material type: [icon] Book" info below author
   line.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to