From 6257b748341eb552e94e77f4be462568c638ad9b Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 24 Aug 2015 10:55:28 -0400 Subject: [PATCH] Bug 13918 [QA Followup] - Remove reserves_count Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 8 ++++---- opac/opac-user.pl | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 2d501ed75b..c3e6d2c78b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/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 ) %]
    - + @@ -686,7 +686,7 @@ [% END %] - [% END # / #reserves_count %] + [% END # / #RESERVES.count %] diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 2ba9ea3322..758b3cbd89 100755 --- a/opac/opac-user.pl +++ b/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() ); -- 2.39.5
    Holds ([% reserves_count %] total)Holds ([% RESERVES.count %] total)