]> git.koha-community.org Git - koha.git/commit
Bug 30009: Do not set MARCNOTES to empty list in list context
authorNick Clemens <nick@bywatersolutions.com>
Fri, 18 Mar 2022 15:03:30 +0000 (15:03 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 19 May 2022 03:22:09 +0000 (17:22 -1000)
commit54e951e72d28925c0795bea5b5cf21d3cc03aecf
tree4e26de11423398b89ca92c68254462a176053849
parent96622e8c3f313566c5a8febe0f7d9facc94c4118
Bug 30009: Do not set MARCNOTES to empty list in list context

AMENDED:
We should not pass an empty list here, but just undef in order to
prevent creating a shift of elements in the hash.

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@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
catalogue/detail.pl