Bugzilla – Attachment 172004 Details for
Bug 37907
Add column to user summary to show date an item was checked out on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37907: Add column to user summary to show date an item was checked out on
Bug-37907-Add-column-to-user-summary-to-show-date-.patch (text/plain), 3.89 KB, created by
Olivier Vezina
on 2024-09-26 18:22:50 UTC
(
hide
)
Description:
Bug 37907: Add column to user summary to show date an item was checked out on
Filename:
MIME Type:
Creator:
Olivier Vezina
Created:
2024-09-26 18:22:50 UTC
Size:
3.89 KB
patch
obsolete
>From 5407a127c30bdeef7acfb4de9ff0e77820259cfb Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 12 Sep 2024 14:43:37 +0000 >Subject: [PATCH] Bug 37907: Add column to user summary to show date an item > was checked out on > >This patch adds a "Checked out on" column to the table of checkouts >and the table of overdues on the OPAC user summary page. > >To test, apply the patch and log in to the OPAC as a user who has >overdue items. > >- On the user summary page confirm that the "Checked out" table shows a > column for "Checked out on" and that the information is > displayed correctly. >- Make the same check of the "Overdue" tab. > >Sponsored-by: Athens County Public Libraries >Signed-off-by: Olivier V <olivier.vezina@inLibro.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 3d5158133d..b319280ffc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -334,6 +334,7 @@ > [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %] > <th class="all anti-the">Title</th> > <th>Author</th> >+ <th>Checked out on</th> > <th class="psort">Due</th> > [% IF ( Koha.Preference('BiblioItemtypeInfo') || !item_level_itypes ) %] > <th>Item type</th> >@@ -415,6 +416,9 @@ > </td> > > <td class="author">[% ISSUE.author | html %]</td> >+ <td class="checkout_date" data-order="[% ISSUE.issuedate | html %]"> >+ [% ISSUE.issuedate | $KohaDates as_due_date => 1 %] >+ </td> > [% IF ( ISSUE.overdue ) %] > <td class="date_due overdue" data-order="[% ISSUE.date_due | html %]"> > [% ISSUE.date_due | $KohaDates as_due_date => 1 %] >@@ -718,6 +722,7 @@ > [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] > [% IF ( show_barcode ) %]<th>Barcode</th>[% END %] > <th>Call number</th> >+ <th>Checked out on</th> > <th class="psort">Due</th> > [% IF ( OpacRenewalAllowed ) %] > <th class="nosort">Renew</th> >@@ -784,6 +789,9 @@ > <td> > [% OVERDUE.itemcallnumber | html %] > </td> >+ <td data-order="[% OVERDUE.issuedate | html %]"> >+ [% OVERDUE.issuedate | $KohaDates as_due_date => 1 %] >+ </td> > <td data-order="[% OVERDUE.date_due | html %]"> > [% OVERDUE.date_due | $KohaDates as_due_date => 1 %] > </td> >-- >2.34.1
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 37907
:
171414
| 172004