From 8f90db741304cfe0de83ed05d789d0ee5eba6f0a 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 Signed-off-by: Katrin Fischer (cherry picked from commit ecd1b3fc023438bdf9fe3c4cce7eb4c7fcdb68c8) Signed-off-by: Lucas Gass --- 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 6ee596767d..eebb3d1111 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 %]