@@ -, +, @@
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 8 ++++----
opac/opac-user.pl | 1 -
2 files changed, 4 insertions(+), 5 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
@@ -117,7 +117,7 @@
[% IF ( BORROWER_INF.amountlessthanzero ) %]
Credits ([% BORROWER_INF.amountoutstanding %])[% END %]
[% END %]
[% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]Waiting ([% waiting_count %])[% END %][% END %]
- [% IF ( reserves_count ) %]Holds ([% reserves_count %])[% END %]
+ [% IF ( RESERVES.count ) %]Holds ([% RESERVES.count %])[% END %]
@@ -498,10 +498,10 @@
[% END # /overdues_count %]
- [% IF ( reserves_count ) %]
+ [% IF ( RESERVES.count ) %]
- Holds ([% reserves_count %] total)
+ Holds ([% RESERVES.count %] total)
@@ -686,7 +686,7 @@
[% END %]
- [% END # / #reserves_count %]
+ [% END # / #RESERVES.count %]
--- a/opac/opac-user.pl
+++ a/opac/opac-user.pl
@@ -280,7 +280,6 @@ my $reserves = Koha::Holds->search( { borrowernumber => $borrowernumber } );
$template->param(
RESERVES => $reserves,
- reserves_count => $reserves->count(),
showpriority => $show_priority,
WAITING => $reserves->waiting()
);
--