From 8c45bd6333751c10f0dab098905f04b9e6c92732 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 20 Jun 2024 11:13:10 +0100 Subject: [PATCH] Bug 36428: (QA follow-up) Add bookings_count class to patron details Somewhere along the line we lost the 'bookings_count' class in the bookings tab display on the patron details and circulation page. This patch restores is and as such also restores the correct count numbers on 'place booking' and 'cancel booking' actions on those pages. Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc index 6ee596767d6..eebb3d11114 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc @@ -31,7 +31,7 @@ [% END %] [% WRAPPER tab_item tabname="bookings" %] [% SET bookings_count = patron.bookings.filter_by_active.count %] - Bookings ([% bookings_count || 0 | html %]) + Bookings ([% bookings_count || 0 | html %]) [% END %] [% END %] -- 2.45.2