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

Pedro Amorim (ammopt) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA
                 CC|                            |[email protected]
                   |                            |k

--- Comment #5 from Pedro Amorim (ammopt) <[email protected]> ---
Hi guys, there appears to be a pre-existing bug here, the label xsl:choose
tests @ind1 against the whole record instead of the current field in the
for-each, so a record with multiple 505s and different indicators gets one
label applied to all of them. This patch's new xsl:otherwise branch is added
into that same xsl:choose, inheriting that same existing bug.

1) Log into the staff interface at
http://localhost:8081/cgi-bin/koha/mainpage.pl
2) Go to 'Cataloguing' and create or edit a bib record
3) Add two 505 fields:
   - First 505: leave first indicator blank, subfield 'a' = "General contents
note"
   - Second 505: set first indicator to '2' (Partial contents), subfield 'a' =
"Partial contents note"
4) Save the record
5) View the record's detail page
(/cgi-bin/koha/catalogue/detail.pl?biblionumber=X)
6) Confirm both 505 blocks are labeled 'Partial contents:' — the
blank-indicator field should show 'Contents:' but instead inherits the label
from the second field, because the label is picked once for the whole record
instead of per-field.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to