]> git.koha-community.org Git - koha.git/commit
Bug 35366: (bug 33948 follow-up) Fix display of old checkouts if no checkouts exist
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Nov 2023 07:04:16 +0000 (08:04 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Sun, 26 Nov 2023 23:53:25 +0000 (20:53 -0300)
commitabfef3cf5d8646b45938f5c6247a1ab9f020de76
treeb9bd83d6d125df743fcb9aa19892ee950ce22078
parentb30898c8bf48b828080c557186dcb25b980ffb48
Bug 35366: (bug 33948 follow-up) Fix display of old checkouts if no checkouts exist

Same patch as
  commit bee2b3d33ed6030b5a63d22148b9955a9897e51d
  Bug 33949: Fix display of old checkouts if no checkouts exist

But for the staff interface.

"""
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: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt