Bug 4231 - Placing holds from cart fails silently
authorMarc Véron <veron@veron.ch>
Sun, 27 Jul 2014 18:30:47 +0000 (20:30 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 15 Aug 2014 18:33:01 +0000 (15:33 -0300)
commit437489347c9464d474bdbf9f75cd235f583fb79b
tree456b5fc8405e1bf8e44c0d7e971ef3227e5cb1c7
parent279afe660e8ade895feea7138e98fab2f1d2cdf6
Bug 4231 - Placing holds from cart fails silently

This patch adds a more meaningfull message if multiple biblios with no
items attached are in the cart.

To test:
- Add biblios with and without items to cart
- Go to cart, select all and click 'Place hold'

Without patch, message reads:
Cannot place hold: this record has no items attached.

With patch, message reads:
Cannot place hold: one or more records without items attached.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Trivial string fix. Message is better than before.
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt