Bug 32272: Restore last and previous borrowers on moredetail
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Nov 2022 09:20:22 +0000 (10:20 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Jan 2023 15:49:10 +0000 (15:49 +0000)
commite6804714140b920b1400d4a985724b6fe99f8132
tree48adf462b39c6d5dddd62ca8c532a2d07f87ccd5
parentaa1f97c2ea4376f5c3232846038c224c927dddc8
Bug 32272: Restore last and previous borrowers on moredetail

GetItemsInfo added a card0, card1 and card2 info with the cardnumbers of
the last 3 borrowers.
But 31315 forgot to adjust the code when it has been moved to using
Koha::Items

Test plan:
Check an item in and out to several patrons
Go to the moredetail page (items) and confirm that the "last borrowers"
info is displayed

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
catalogue/moredetail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt