Bugzilla – Attachment 149049 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.54 KB, created by
ByWater Sandboxes
on 2023-03-31 17:42:06 UTC
(
hide
)
Description:
Bug 30621: Add author column to opac-readingrecord.tt
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-03-31 17:42:06 UTC
Size:
2.54 KB
patch
obsolete
>From 5c791039c156004cba34d7aae2727c0a5fb8d0f5 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> >--- > .../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 @@ > <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> >@@ -156,13 +157,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