Bugzilla – Attachment 125249 Details for
Bug 29104
Add dateexpiry column to circulation patron search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29104: Add date expiry column to patron search borrower table
Bug-29104-Add-date-expiry-column-to-patron-search-.patch (text/plain), 1.99 KB, created by
Lucas Gass (lukeg)
on 2021-09-24 13:41:52 UTC
(
hide
)
Description:
Bug 29104: Add date expiry column to patron search borrower table
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-09-24 13:41:52 UTC
Size:
1.99 KB
patch
obsolete
>From 890cc610426a00872e3a687ef54071b707191049 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 24 Sep 2021 13:37:15 +0000 >Subject: [PATCH] Bug 29104: Add date expiry column to patron search borrower > table > >Test plan: >1. Apply patch >2. The new dateexpiry column will be hidden by default, go to table settings and expose it (table_borrowers) >3. Do a patron search that will return multiple patrons, you should see the date expiry column >4. Make the date displays correctly right with different dateformats >5. Make sure that the column, and other columns in that table, can be correctly hidden via table settings >--- > admin/columns_settings.yml | 3 +++ > .../prog/en/includes/circ-patron-search-results.inc | 2 ++ > 2 files changed, 5 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 16516b3452..7ecc788b81 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1130,6 +1130,9 @@ modules: > - > columnname: phone > is_hidden: 1 >+ - >+ columnname: dateexpiry >+ is_hidden: 1 > > returns: > checkedintable: >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >index a69466eb01..ffbb08f3eb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc >@@ -9,6 +9,7 @@ > <th>Library</th> > <th>Address</th> > <th>Primary phone</th> >+ <th>Date expiry</th> > </tr> > </thead> > <tbody> >@@ -37,6 +38,7 @@ > </td> > <td>[% borrower.address | html %]</td> > <td>[% borrower.phone | html %]</td> >+ <td>[% borrower.dateexpiry | html %]</td> > </tr> > [% END %] > </tbody> >-- >2.20.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 29104
: 125249