From 58bff3f1b5e1f9f6f6817f13c51a0b9ef182e291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Mon, 4 Jul 2016 19:37:46 +0200 Subject: [PATCH] Bug 16682 - Fix display if Batch patron modification tool does not get any patrons To reproduce: - Go to Tools->Batch patron modification - Submit without filling any of "Use a file", "Or use a patron list", "Or list card numbers..." or use a patron lists with zero members Result: Screen without any information To test: - Apply patch - Repeat steps above - Verify that you get a nice message --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 4 ++++ 1 file changed, 4 insertions(+) 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 8d50d70..8f67348 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -213,6 +213,9 @@ [% END %] [% IF ( op == 'show' ) %] + [% IF !borrowers %] +
No patrons found. Back
+ [% ELSE %]
[% IF ( borrowers ) %] @@ -370,6 +373,7 @@
[% END %] [% END %] + [% END %] [% END %] [% IF ( op == 'show_results' ) %]

-- 1.7.10.4