Bugzilla – Attachment 167931 Details for
Bug 36428
Current bookings are not counted in record side bar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36428: (QA follow-up) Add bookings_count class to patron details
Bug-36428-QA-follow-up-Add-bookingscount-class-to-.patch (text/plain), 1.41 KB, created by
Martin Renvoize
on 2024-06-20 10:15:45 UTC
(
hide
)
Description:
Bug 36428: (QA follow-up) Add bookings_count class to patron details
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2024-06-20 10:15:45 UTC
Size:
1.41 KB
patch
obsolete
>From 8c45bd6333751c10f0dab098905f04b9e6c92732 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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 <martin.renvoize@ptfs-europe.com> >--- > 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 %] >- <span>Bookings ([% bookings_count || 0 | html %])</span> >+ <span class="bookings_count">Bookings ([% bookings_count || 0 | html %])</span> > [% END %] > [% END %] > >-- >2.45.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36428
:
167308
|
167694
|
167929
|
167930
| 167931