Bug 35310: Show current renewal value of the currently active check out
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 10 Nov 2023 11:31:28 +0000 (11:31 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 12 Dec 2023 14:04:53 +0000 (15:04 +0100)
commite756faf860c7475e2761e45f3ebc152c34a2d036
tree614df92f519fd2954abca32804a58a58e1e83d96
parentebba646b46455d308cf9e8777bd9af92080156ae
Bug 35310: Show current renewal value of the currently active check out

Test plan, with the previous 2 patches applied:

1) Checkout an item to Koha user, barcode 39999000003192
2) Renew that barcode
3) Visit the items page of the biblio record, click on 'View' in front of 'Current renewals'
/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=76
4) Notice it shows the renewals as expected
5) Return the same item: 39999000003192
6) Repeat 1) to 3). Notice it shows 2 current renewals even tho only 1 corresponds to the currently active check out
7) Renew again. Notice it shows 3 current renewals even tho only 2 correspond to the currently active check out
7) Apply this patch. Notice it now only shows 2 current renewals

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt