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>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2017-10-02 14:22:27 -03:00
parent 12a754a703
commit 4edfc7900f

View file

@ -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 %]&amp;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>