]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 4 Jan 2024 18:08:05 +0000 (18:08 +0000)
commitd4f30b31914e656f4d8338e961afb38d5c5074f0
tree49290682945e11af3a023929f063b5473a75de8b
parent7ed002e676e8cab532b0f3c0c951fd0996918067
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>
(cherry picked from commit e756faf860c7475e2761e45f3ebc152c34a2d036)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit b242a03a30943eda94762374e3526b14c2f57ebd)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt