View | Details | Raw Unified | Return to bug 13931
Collapse All | Expand All

(-)a/circ/ysearch.pl (+2 lines)
Lines 29-34 use CGI qw ( -utf8 ); Link Here
29
use C4::Context;
29
use C4::Context;
30
use C4::Auth qw/check_cookie_auth/;
30
use C4::Auth qw/check_cookie_auth/;
31
use Koha::Borrowers;
31
use Koha::Borrowers;
32
use Koha::DateUtils qw/format_sqldatetime/;
32
33
33
use JSON qw( to_json );
34
use JSON qw( to_json );
34
35
Lines 74-79 while ( my $b = $borrowers_rs->next ) { Link Here
74
        surname        => $b->surname    // '',
75
        surname        => $b->surname    // '',
75
        firstname      => $b->firstname  // '',
76
        firstname      => $b->firstname  // '',
76
        cardnumber     => $b->cardnumber // '',
77
        cardnumber     => $b->cardnumber // '',
78
	dateofbirth    => format_sqldatetime($b->dateofbirth, undef, undef, 1) // '',
77
        address        => $b->address    // '',
79
        address        => $b->address    // '',
78
        city           => $b->city       // '',
80
        city           => $b->city       // '',
79
        zipcode        => $b->zipcode    // '',
81
        zipcode        => $b->zipcode    // '',
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc (-2 / +1 lines)
Lines 14-20 $(document).ready(function(){ Link Here
14
    .data( "ui-autocomplete" )._renderItem = function( ul, item ) {
14
    .data( "ui-autocomplete" )._renderItem = function( ul, item ) {
15
        return $( "<li></li>" )
15
        return $( "<li></li>" )
16
        .data( "ui-autocomplete-item", item )
16
        .data( "ui-autocomplete-item", item )
17
        .append( "<a>" + item.surname + ", " + item.firstname + " (" + item.cardnumber + ") <small>" + item.address + " " + item.city + " " + item.zipcode + " " + item.country + "</small></a>" )
17
        .append( "<a>" + item.surname + ", " + item.firstname + " (" + item.cardnumber + ") <small>" + item.dateofbirth + " " + item.address + " " + item.city + " " + item.zipcode + " " + item.country + "</small></a>" )
18
        .appendTo( ul );
18
        .appendTo( ul );
19
    };
19
    };
20
20
21
- 

Return to bug 13931