Lines 25-34
Link Here
|
25 |
|
25 |
|
26 |
if (patron.middle_name != null && patron.middle_name != "") { |
26 |
if (patron.middle_name != null && patron.middle_name != "") { |
27 |
firstname += " " + escape_str(patron.middle_name); |
27 |
firstname += " " + escape_str(patron.middle_name); |
|
|
28 |
preferred_name += " " + escape_str(patron.middle_name); |
28 |
} |
29 |
} |
29 |
|
30 |
|
30 |
if (patron.other_name != null && patron.other_name != "") { |
31 |
if (patron.other_name != null && patron.other_name != "") { |
31 |
firstname += " (" + escape_str(patron.other_name) + ")"; |
32 |
firstname += " (" + escape_str(patron.other_name) + ")"; |
|
|
33 |
preferred_name += " (" + escape_str(patron.other_name) + ")"; |
32 |
} |
34 |
} |
33 |
if (config && config.invert_name) { |
35 |
if (config && config.invert_name) { |
34 |
name = surname + (preferred_name ? ", " + preferred_name : ""); |
36 |
name = surname + (preferred_name ? ", " + preferred_name : ""); |
35 |
- |
|
|