From e8b7e749c297e91b0f245edc425534406a82e0ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Sun, 26 Apr 2015 21:36:25 +0200 Subject: [PATCH] Bug 11929 - patron modification error shows borrowernumber If an error occurs in patron batch modification, a message similar to the following is displayed: Can not update patron with borrowernumber 7055 It would be useful to have the cardnumber as well. This patch adds the card number to the lists of errors. It is not easy to trigger an error (see comments). For testing, I tweaked the sub ModMember in C4/Members.pm to always return false. To test: Apply patch Go to Home > Tools > Batch patron modification Enter some card numbers, continue to modify. Try to find a modification that triggers an error in ModMember (C4/Members.pm) If an error is triggered, verify that the card number is displayed in the error message(s). --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 7 +++++-- tools/modborrowers.pl | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt index 66680c9..7e42fe1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -199,7 +199,10 @@