From e47722db46fc5cbb2ed17b2248012ec833db5583 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. --- .../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 52140ce12d..9336961f56 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt @@ -104,6 +104,7 @@ Type Title + Author Item type Call number Vol info @@ -154,13 +155,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