]> git.koha-community.org Git - koha.git/commit
Bug 34302: (bug 28653 follow-up) Do not refresh the table if an error happened
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 27 Jul 2023 13:01:24 +0000 (15:01 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 22 Sep 2023 20:34:44 +0000 (10:34 -1000)
commite27ae1d138e3cfa268feb5fc4be05059181f47e4
treef7058d31c68a9cfc562c8bee320758aab58fa1ee
parent3b8187d620862741fdeb892d6e5f29873e49392b
Bug 34302: (bug 28653 follow-up) Do not refresh the table if an error happened

If checkin or renew failed, we should not refresh the table or it will
hide the error message.

Test plan:
Apply the DO NOT PUSH patch
Do a renew
=> No error in the table
Apply this patch
Do a renew
=> You see the error
Revert the DO NOT PUSH patch
Do a renew
=> The table is refreshed

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7d80a1df25a1c4e726bcf148e1c2432ea8c9a007)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js