[Ils-source] r1351 - trunk/webapp/api/user/put

scribe at crosswire.org scribe at crosswire.org
Tue Oct 20 19:47:50 MST 2015


Author: scribe
Date: 2015-10-20 19:47:50 -0700 (Tue, 20 Oct 2015)
New Revision: 1351

Modified:
   trunk/webapp/api/user/put/index.jsp
Log:
Applied patch from Adam to fix Middle Name and add Name Suffix


Modified: trunk/webapp/api/user/put/index.jsp
===================================================================
--- trunk/webapp/api/user/put/index.jsp	2015-10-03 20:03:27 UTC (rev 1350)
+++ trunk/webapp/api/user/put/index.jsp	2015-10-21 02:47:50 UTC (rev 1351)
@@ -206,6 +206,10 @@
 
 	val = request.getParameter("firstName");
 	if (val != null && val.trim().length() > 0) current.setUserProfileFirstName(val);
+	val = request.getParameter("middleName");
+	if (val != null && val.trim().length() > 0) current.setUserProfileMiddleName(val);
+	val = request.getParameter("suffixName");
+	if (val != null && val.trim().length() > 0) current.setUserProfileSuffixName(val);
 	val = request.getParameter("lastName");
 	if (val != null && val.trim().length() > 0) current.setUserProfileLastName(val);
 	val = request.getParameter("employeeTitle");
@@ -349,6 +353,7 @@
 <tr><th>firstName</th><td>First Name</td></tr>
 <tr><th>middleName</th><td>Middle Name</td></tr>
 <tr><th>lastName</th><td>Last Name</td></tr>
+<tr><th>suffixName</th><td>Name Suffix (e.g., Jr.)</td></tr>
 <tr><th>employeeTitle</th><td>Employee Title ID {unfinished, will lookup by title string in the future}</td></tr>
 <tr><th>addr1</th><td>Address, Line 1</td></tr>
 <tr><th>addr2</th><td>Address, Line 2</td></tr>




More information about the Ils-source mailing list