Bugzilla – Attachment 98621 Details for
Bug 24585
Add 'Managed on' and 'Suggested on' columns to suggestions tab in patron account in staff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24585: Add 'Managed on' and 'Suggested on' columns to pat_purchase_suggestions.tt
Bug-24585-Add-Managed-on-and-Suggested-on-columns-.patch (text/plain), 2.45 KB, created by
Katrin Fischer
on 2020-02-09 13:10:20 UTC
(
hide
)
Description:
Bug 24585: Add 'Managed on' and 'Suggested on' columns to pat_purchase_suggestions.tt
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-02-09 13:10:20 UTC
Size:
2.45 KB
patch
obsolete
>From 57522c27f7e67fa8db42edcc646cfb3db728f2f7 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 5 Feb 2020 01:04:52 +0000 >Subject: [PATCH] Bug 24585: Add 'Managed on' and 'Suggested on' columns to > pat_purchase_suggestions.tt > >This patch adds 2 new columns on the suggestions table on purchase-suggestions.tt. These use the data-order attribute to allow for sorting. >TEST PLAN: >1. Have a patron with some suggestions that have been managed by staff. (accept or reject the request). >2. View that patrons suggestions from purchase-suggestions.pl. >3. No suggested on or managaed on columns. >4. Apply patch and reload the page. >5. The new columns are there, have multiple suggestions and make sure sorting by the date works. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/members/purchase-suggestions.tt | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt >index ecfd4ee850..e5f203c8f3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt >@@ -1,6 +1,7 @@ > [% USE raw %] > [% USE Asset %] > [% USE Koha %] >+[% USE KohaDates %] > [% USE AuthorisedValues %] > [% USE Branches %] > [% SET footerjs = 1 %] >@@ -37,6 +38,8 @@ > <th>Summary</th> > <th>Note</th> > <th>Managed by</th> >+ <th>Managed on</th> >+ <th>Suggested on</th> > <th>Status</th> > </tr> > </thead> >@@ -73,6 +76,12 @@ > > [% END %] > </td> >+ <td data-order="[% s.manageddate | html %]"> >+ [% s.manageddate | $KohaDates %] >+ </td> >+ <td data-order="[% s.suggesteddate | html %]"> >+ [% s.suggesteddate | $KohaDates %] >+ </td> > <td> > [% SWITCH s.STATUS %] > [% CASE "ASKED" %]<span>Requested</span> >-- >2.11.0
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 24585
:
98421
|
98483
| 98621