Summary: | MARC21 field 511 missing from XSLT | ||
---|---|---|---|
Product: | Koha | Reporter: | Mirko Tietgen <mirko> |
Component: | Templates | Assignee: | Mirko Tietgen <mirko> |
Status: | CLOSED FIXED | QA Contact: | Katrin Fischer <katrin.fischer> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | veron |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 8877 MARC21 field 511 missing from XSLT
[SIGNED-OFF] Bug 8877 [ENH] MARC21 field 511 missing from XSLT [SIGNED-OFF] Bug 8877 [ENH] MARC21 field 511 missing from XSLT |
Description
Mirko Tietgen
2012-10-04 20:56:16 UTC
Created attachment 12690 [details] [review] Bug 8877 MARC21 field 511 missing from XSLT Adds MARC21 field 511 to the OPAC XSLT file. Created attachment 12697 [details] [review] [SIGNED-OFF] Bug 8877 [ENH] MARC21 field 511 missing from XSLT Adds MARC21 field 511 to the OPAC XSLT file. Signed-off-by: Marc Veron <veron@veron.ch> COntents of field 511 appears as expected. Hi Mirko, can you please provide a follow up for the staff XSLT? Hi Mirko, while testing I found 2 other things that concern me: 1) If you have multiple 511, each will show on a separate line and the label will be repeated: Cast: Tietgen, Mirko Cast: Fischer, Katrin I think that's not consistent with how other repeatable fields display, could you make it so the label appears only once? 2) The display of a label depends on the first indicator set to 1. I see that this is how it's documented in the MARC21 standard (http://www.loc.gov/marc/bibliographic/bd511.html), but it looks a bit weird in the OPAC. Maybe we could display another label if the indicator is not set? Katrin, I think both things you talk about are done exactly as described by the LOC. Please check the examples at http://www.loc.gov/marc/bibliographic/bd511.html and also have a look at the field in Koha cataloguing. Field 511 (in MARC and in Koha) is designed to take a list of names per field. The field is repeatable, the subfield a is not. No display constant generation is necessary to have several 511 fields for different lists, like 'voices', 'presenter' etc. in the LOC examples, where these descriptions are part of the field value. It would be nicer to have a subfield for display constant generation, but that is not how MARC works for this field. And who are we to doubt MARC? Setting this back to needing QA as I disagree with the reasons for failing it and Katrin seemed to possibly agree with my objections on IRC. It's ok - I will take another look :) Created attachment 14323 [details] [review] [SIGNED-OFF] Bug 8877 [ENH] MARC21 field 511 missing from XSLT Adds MARC21 field 511 to the OPAC XSLT file. Signed-off-by: Marc Veron <veron@veron.ch> Contents of field 511 appears as expected. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Patch changes OPAC XSLT display, 511 is shown as defined by the MARC21 standard. If 1st indicator is 1, the label cast is shown in front of the 511 field. If 1st indicator is 0 or empty, no label is shown. Mirko, you have persuaded me ;) Could you please provide a follow-up to the intranet display to make it match with OPAC display? This patch has been pushed to master. |