From c13f979d5fd0f4f4bc0515e4ee60560d6fa26e19 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 --- .../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 927d8c3..877906f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -118,7 +118,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 %]
    @@ -497,10 +497,10 @@ [% END # /overdues_count %] - [% IF ( reserves_count ) %] + [% IF ( RESERVES.count ) %]
    - + @@ -685,7 +685,7 @@ [% END %] - [% END # / #reserves_count %] + [% END # / #RESERVES.count %] diff --git a/opac/opac-user.pl b/opac/opac-user.pl index c830ef0..0c298a9 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -281,7 +281,6 @@ my $reserves = Koha::Holds->search( { borrowernumber => $borrowernumber } ); $template->param( RESERVES => $reserves, - reserves_count => $reserves->count(), showpriority => $show_priority, WAITING => $reserves->waiting() ); -- 1.7.2.5
    Holds ([% reserves_count %] total)Holds ([% RESERVES.count %] total)