From 37b52c048f516d373144e3749b14eb25f391222b 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dani Elder Signed-off-by: Danielle Elder Signed-off-by: Séverine QUEUNE Signed-off-by: Séverine QUEUNE --- 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 2b4d69c..81666ab 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.7.4