]> git.koha-community.org Git - koha.git/commit
Bug 17761 - Renewing or returning item via the checkouts table causes lost and damage...
authorKyle M Hall <kyle@kylehall.info>
Mon, 12 Dec 2016 11:59:30 +0000 (06:59 -0500)
committerMason James <mtj@kohaaloha.com>
Tue, 3 Jan 2017 01:44:42 +0000 (14:44 +1300)
commit111717a2a118748b733949cb8b31d2c0d5836ef8
tree3d0cd07436f7a61cc126ce1c8c34a29f822bda47
parent8f7b95d8e24b6547701a0101848b671ff2abbc32
Bug 17761 - Renewing or returning item via the checkouts table causes lost and damaged statuses to disappear

Due to the fact that the lost and damaged status are contained within the due_due span,
when the item is renewed or returned these statuses disappear.
Some librarians find this disconcerting and it seems that it would be better to keep the visible.

Test Plan:
1) Find a lost item checked out to a patron
2) Renew that lost item via the checkouts table
3) Notice the lost status disappears from that row
4) Apply this patch
5) Refresh the page ( you may want to clear your browser cache as well )
6) Renew the item again
7) The lost status should remain visible!

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Edie Discher <edischer@cityoffargo.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 97eb773c0a4054f0538c8966e207734f6f56bdd5)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 75c3cda017e4998974fad285e21bf63b08e4fce6)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js