From 45749c4de6077177efbb8886a311144cdba564fd Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Fri, 14 Oct 2016 07:56:03 +0000 Subject: [PATCH] Bug 15565: Alert librarian that maximum holds per record is reached Signed-off-by: Dani Elder --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index bae2d7b..bfa864c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -154,7 +154,7 @@ function checkMultiHold() { numchecked = 0; $("input[name=checkitem]").each(function() { if(this.checked){ - numchecked = 1; + numchecked++; } }); if(numchecked > 0){ -- 2.1.4