]> git.koha-community.org Git - koha.git/commit
Bug 33949: Fix display of old checkouts if no checkouts exist
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 18 Sep 2023 09:41:36 +0000 (11:41 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 18 Oct 2023 18:41:27 +0000 (15:41 -0300)
commitbee2b3d33ed6030b5a63d22148b9955a9897e51d
treee77bc31bd7fc9bf02b173acf8bd6d9acf1565b95
parent891835895cd9d2849c6f5e8e569af20451d26364
Bug 33949: Fix display of old checkouts if no checkouts exist

If we pass an empty array from the perl controller, we retrieve an empty
string from the template, and the merge does not work.

This patch fixes the following bug:
Pick a patron without checkout history
Check them an item out and check it in
=> The table is empty, whereas it should display the item that has been
checked in.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt