Noticed in 1.4.0.2, confirmed in trunk, the myopac.xml "My Account"
display doubles the patron's first given name:
Administrator Administrator System Account
myopac.js was the culprit, populating the "prefix" with the value of
first_given_name.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@12328
dcc99617-32d9-48b4-a31d-
7c20da2025e4
var iv1 = user.ident_value()+'';
if (iv1.length > 4) iv1 = iv1.replace(new RegExp(iv1.substring(0,iv1.length - 4)), '***********');
- appendClear($('myopac_summary_prefix'),text(user.first_given_name()));
+ appendClear($('myopac_summary_prefix'),text(user.prefix()));
appendClear($('myopac_summary_first'),text(user.first_given_name()));
appendClear($('myopac_summary_middle'),text(user.second_given_name()));
appendClear($('myopac_summary_dayphone'),text(user.day_phone()));