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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt (-2 / +1 lines)
Lines 256-262 Link Here
256
            patron_autocomplete($("#find_patron"), {
256
            patron_autocomplete($("#find_patron"), {
257
                'on-select-callback': function( event, ui ) {
257
                'on-select-callback': function( event, ui ) {
258
                    var field = ui.item.cardnumber;
258
                    var field = ui.item.cardnumber;
259
                    AddPatron( ui.item.firstname + " " + ( ui.item.middle_name || "" ) + " " + ui.item.surname, field, $("#patrons_to_add"), 'patrons_to_add' );
259
                    AddPatron( ( ui.item.firstname || "" ) + " " + ( ui.item.middle_name || "" ) + " " + ( ui.item.surname || "" ), field, $("#patrons_to_add"), 'patrons_to_add' );
260
                    $("#find_patron").val('').focus();
260
                    $("#find_patron").val('').focus();
261
                    return false;
261
                    return false;
262
                }
262
                }
263
- 

Return to bug 34083