Bug 16682: Fix display if Batch patron modification tool does not get any patrons
authorMarc Véron <veron@veron.ch>
Tue, 5 Jul 2016 00:10:55 +0000 (02:10 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 10:24:13 +0000 (12:24 +0200)
commit0bb397492d7ef5611a2cb394e12f01eed7a8cbbd
tree3bd131f06731813f31d978235f315c436cc752be
parenta5e1af5eb6136a354f4f9df58216a6ab52ead05c
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
- Verify that the tool works as before
  - with invalid card numbers only
  - with valid and invalid card numbers
  - with valid card numbers only

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c0d420f42a293e68228bbe7fa95545a08fd2c964)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 36ffbb193fb8b2374a60b9acee8ca55ff5a7ea81)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt