[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
Sun May 15 15:21:06 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30009
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #131917|0 |1
is obsolete| |
--- Comment #7 from David Nind <david at davidnind.com> ---
Created attachment 135008
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135008&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
Signed-off-by: David Nind <david at davidnind.com>
--
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