[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
Fri Mar 18 16:05:29 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30009
--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 131917
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131917&action=edit
Bug 30009: If no record set MARCNOTES undef, rather than empty array
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
To test:
1 - Find or create an invalid marc record
2 - View in staff client
3 - Note tab Descriptions(1) has no content
4 - Apply patch, reload
5 - No empty tab
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list