[Koha-bugs] [Bug 30009] Records with invalid MarcXML show notes tab 'Descriptions(1)' but tab is empty

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 18 13:44:01 CEST 2022


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

--- Comment #10 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Nick Clemens from comment #2)
> Currently we pass an empty array if there is no marc record - this
> is read as 'true' by template toolkit, and the desciptions tab is loaded
> 
> This patch just sets the variable as undef which is false

Just being more precise:

We pass an empty list. This is not read as true, as the above commit message
tells. But it creates the odd arguments hash where the next key shifts into the
position of the MARCNOTES value.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list