From 8cb73b220f6a47b4d3a7c9042403340d005ca196 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sun, 20 Jan 2008 16:56:41 -0600 Subject: [PATCH] Fix for bug 1773, reading record not showing properly in the OPAC Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../prog/en/modules/opac-readingrecord.tmpl | 16 ++++++++++------ opac/opac-readingrecord.pl | 3 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl index 89fa9357c0..a085e7aa62 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl @@ -20,19 +20,23 @@ You have never borrowed anything from this library. -
  • Showing All Items
  • Show Last 50 Items Only
  • -
  • Show All Items
  • Showing Last 50 Items
  • + +
  • Showing All Items
  • Show Last 50 Items Only
  • Showing All Items
  • - - - + + + + diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index 843384a6dc..a52170e6f9 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -68,6 +68,7 @@ if ( $limit eq 'full' ) { else { $limit = 50; } + my ( $count, $issues ) = GetAllIssues( $borrowernumber, $order2, $limit ); # add the row parity @@ -100,7 +101,7 @@ $template->param( count => $count, READING_RECORD => \@loop_reading, limit => $limit, - showfulllink => ( $count > 50 ), + showfulllink => 1, ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.20.1
    Title  - Author DateDate
    TitleTitleAuthorAuthorDateDate