Bugzilla – Attachment 67527 Details for
Bug 19398
Wrong date format in quick patron search table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19398: Format date of birth in circ patron search
Bug-19398-Format-date-of-birth-in-circ-patron-sear.patch (text/plain), 1.73 KB, created by
Jonathan Druart
on 2017-10-02 17:24:42 UTC
(
hide
)
Description:
Bug 19398: Format date of birth in circ patron search
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-02 17:24:42 UTC
Size:
1.73 KB
patch
obsolete
>From 0465f375f7f3402d94fab641fcf451e9f8b90e23 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 2 Oct 2017 14:22:27 -0300 >Subject: [PATCH] Bug 19398: Format date of birth in circ patron search > >When searching for a patron from the circulation tab, the results table >shows the date of birth unformatted. > >Test plan: >Apply this patch, search for patrons in the circ tab and confirm that >the date of birth are correctly formatted according to the dateformat >syspref >--- > .../intranet-tmpl/prog/en/includes/circ-patron-search-results.inc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >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 8ff24be8c5..29e72a2df9 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 >@@ -1,3 +1,4 @@ >+[% USE KohaDates %] > <script type="text/javascript"> > $(document).ready(function() { > $(".clickable").click(function() { >@@ -32,7 +33,7 @@ > <td><a href="/cgi-bin/koha/reserve/request.pl?borrowernumber=[% borrower.borrowernumber %]&biblionumber=[% biblionumber %]">[% borrower.surname %], [% borrower.firstname %]</a></td> > [% END %] > <td>[% borrower.cardnumber %]</td> >- <td>[% borrower.dateofbirth %]</td> >+ <td>[% borrower.dateofbirth | $KohaDates %]</td> > <td>[% Categories.GetName( borrower.categorycode ) %]</td> > <td>[% Branches.GetName( borrower.branchcode ) %]</td> > <td>[% borrower.address %]</td> >-- >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 19398
:
67527
|
67532
|
67699