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> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
39920e03f1
commit
ecd1b3fc02
|
|
@ -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 %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue