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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha@gmail.
                   |                            |com

--- Comment #8 from Jonathan Druart <[email protected]> ---
This patch introduces a bad side-effect.

From the mailing list
https://lists.katipo.co.nz/pipermail/koha/2021-June/056413.html

If you have a note in 590$z that is linked with an authorised value, then the
code will be displayed instead of the description.

What's happening?
Before this patch we did (the big lines):

my $record = GetMarcBiblio({ biblionumber => $biblionumber });
XSLTParse4Display($record);
my $notes = GetMarcNotes($record);

=> XSLTParse4Display *is modifying* the record (see the $field->replace_with
call in transformMARCXML4XSLT) and so GetMarcNotes returned the descriptions of
the notes

After this patch:
my $notes = $biblio->get_marc_notes;

=> We are no longer using the descriptions!

Aleisha, Can you please fix this?

-- 
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