Bug 15486: Modify request.tt to handle the new error string
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 19 Jul 2017 22:32:09 +0000 (19:32 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Oct 2018 13:24:05 +0000 (13:24 +0000)
commit1596818ff6433825cd6071fb692bc508773bbd97
tree6ca0e12f00dddb83546a439611f7bb7d6beaa909
parentfb0ab55fd09457a4d7559d2af9774de9456bb2f2
Bug 15486: Modify request.tt to handle the new error string

This patch makes reserve/request.pl display a convenient error
description when a hold cannot be placed due to the new daily limit
configuration.

To test:
- Apply this patchset
- Upgrade
- Configure your circulation rules so there's a daily limit for holds
- Place holds so the patron reaches the maximum
- Place one more hold
- Notice the hold cannot be placed and a convenient error message is
displayed.
- Sign off :-D

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt