From ca64cdc3a5fca58832693e5632a0f356734f2a94 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 4 Jul 2022 13:14:45 +0100 Subject: [PATCH] Bug 31129: Fix debarment count on circulation page This patch was split from bug 23681 where QA identified the issue. This patch fixes the debarment count displayed on the circulation page tabs Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit b6afcdbf48d9daacb24a3f0337a5cab5c7dbded7) Signed-off-by: Lucas Gass (cherry picked from commit 87d7ded49074d997322a45ad1e1fd3dbc6e1338b) Signed-off-by: Arthur Suzuki --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 3a4a4c8f3e..fc0530dde8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -827,7 +827,9 @@ [% END %] -
  • [% debarments.count | html %] Restrictions
  • +
  • + Restrictions ([% debarments.size || 0 | html %]) +
  • [% SET enrollments = patron.get_club_enrollments(1) %] [% SET enrollable = patron.get_enrollable_clubs(0,1) %] -- 2.39.5