]> git.koha-community.org Git - koha.git/commit
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)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 11:31:20 +0000 (13:31 +0200)
commit36ffbb193fb8b2374a60b9acee8ca55ff5a7ea81
treef7c875669c3912effc2551e17459f98d12382bd2
parent70c1dac41ad8c4b0e7b2dea5fb1a6285a72a58b5
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt