Bugzilla – Attachment 67699 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.84 KB, created by
Nick Clemens
on 2017-10-06 11:20:05 UTC
(
hide
)
Description:
Bug 19398: Format date of birth in circ patron search
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2017-10-06 11:20:05 UTC
Size:
1.84 KB
patch
obsolete
>From 45d72bb180fef94c8fe78a0f680201c7784167a7 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 > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > .../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 8ff24be..29e72a2 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.1.4
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