From d48716f6f1cd423e8c0982f843957a6ff00d4933 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 Signed-off-by: Aleisha Amohia --- .../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 9cc710bc491..7277a128245 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