From 5c791039c156004cba34d7aae2727c0a5fb8d0f5 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 31 Mar 2023 16:53:24 +0000 Subject: [PATCH] Bug 30621: Add author column to opac-readingrecord.tt To test: 1. Have a patron with some checkout history. 2. Go to that patrons OPAC reading history page, notice author is listed in the same column as title. You cannot sort by author. 3. Apply patch and look again. 4. Now there should be an author column that allows patrons to sort by it. Signed-off-by: Andrew Auld --- .../opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt index 1e80809a8a..33d132f406 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt @@ -106,6 +106,7 @@ Type Title + Author Item type Call number Vol info @@ -156,13 +157,11 @@ [% INCLUDE 'biblio-title.inc' biblio=issue, link => 1 %] -

[% issue.author | html %]

- [% IF ( Koha.Preference( 'OpacStarRatings' ) == 'all' ) %] [% INCLUDE 'user-star-ratings.inc' item=issue %] [% END %] - + [% issue.author | html %] [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] [% IF ( issue.imageurl ) %] -- 2.30.2