--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc 2016-11-04 14:03:23.663906000 +0200 +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc 2016-11-04 14:07:01.895906000 +0200 @@ -13,7 +13,7 @@ .data( "ui-autocomplete" )._renderItem = function( ul, item ) { return $( "
  • " ) .data( "ui-autocomplete-item", item ) - .append( "" + item.surname + ", " + item.firstname + " (" + item.cardnumber + ") " + item.dateofbirth + " " + item.address + " " + item.city + " " + item.zipcode + " " + item.country + "" ) + .append( "" + item.surname + ", " + item.firstname + " " + item.initials + "" + " (" + item.cardnumber + ") " + item.address + " " + item.city + " " + item.zipcode + " " + item.country + "" ) .appendTo( ul ); }; --- a/circ/ysearch.pl 2016-11-04 14:03:53.879906000 +0200 +++ b/circ/ysearch.pl 2016-11-04 14:04:35.367906000 +0200 @@ -83,6 +83,7 @@ { borrowernumber => $b->borrowernumber, surname => $b->surname // '', firstname => $b->firstname // '', + initials => $b->initials // '', cardnumber => $b->cardnumber // '', dateofbirth => format_sqldatetime($b->dateofbirth, undef, undef, 1) // '', address => $b->address // '',