Bugzilla – Attachment 150354 Details for
Bug 30621
Author should be its own column on opac-readingrecord.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30621: Add author column to opac-readingrecord.tt
Bug-30621-Add-author-column-to-opac-readingrecordt.patch (text/plain), 2.60 KB, created by
Aleisha Amohia
on 2023-04-28 04:06:23 UTC
(
hide
)
Description:
Bug 30621: Add author column to opac-readingrecord.tt
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2023-04-28 04:06:23 UTC
Size:
2.60 KB
patch
obsolete
>From d48716f6f1cd423e8c0982f843957a6ff00d4933 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <andrew.auld@ptfs-europe.com> >Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> >--- > .../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 @@ > <th style="display:none;" class="noExport">Type</th> > <th class="NoSort noExport"></th> > <th class="anti-the">Title</th> >+ <th>Author</th> > <th>Item type</th> > <th>Call number</th> > <th>Vol info</th> >@@ -154,13 +155,11 @@ > </td> > <td> > [% INCLUDE 'biblio-title.inc' biblio=issue, link => 1 %] >- <p class="results-summary item-details">[% issue.author | html %]</p> >- > [% IF ( Koha.Preference( 'OpacStarRatings' ) == 'all' ) %] > [% INCLUDE 'user-star-ratings.inc' item=issue %] > [% END %] >- > </td> >+ <td>[% issue.author | html %]</td> > <td> > [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] > [% IF ( issue.imageurl ) %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30621
:
149047
|
149049
| 150354