Move Prefix field ahead of Names in patron editor
authorBen Shum <bshum@biblio.org>
Wed, 27 Jun 2012 18:01:24 +0000 (14:01 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 17 Jul 2012 15:14:46 +0000 (11:14 -0400)
In earlier versions of Evergreen (1.6 and earlier), the Prefix field
was used to enter title information, such as Mr., Mrs., etc. When the
field was eventually added to the newer patron registration screens
(2.0+), it was added before the patron's last name field. Ideally,
the prefix should be listed prior to the patron's first name instead.

In addition, address label issues by changing "Suffix/Title" back to
only "Suffix" and making "Prefix" into "Prefix/Title".

Note: string changes would normally not be allowed in a stable release,
however in this case the previous translation (if any) will still get
pulled from the IDL for the field in question, so English will not
suddenly start showing up in the patron registration form.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/templates/actor/user/register_table.tt2

index e21df9b..e19d4b3 100644 (file)
@@ -2688,11 +2688,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <field reporter:label="Other Phone" name="other_phone"  reporter:datatype="text"/>
                        <field reporter:label="Password" name="passwd"  reporter:datatype="text"/>
                        <field reporter:label="Photo URL" name="photo_url"  reporter:datatype="text"/>
-                       <field reporter:label="Prefix" name="prefix"  reporter:datatype="text"/>
+                       <field reporter:label="Prefix/Title" name="prefix"  reporter:datatype="text"/>
                        <field reporter:label="Main (Profile) Permission Group" name="profile" reporter:datatype="link"/>
                        <field reporter:label="Middle Name" name="second_given_name"  reporter:datatype="text"/>
                        <field reporter:label="Standing (unused)" name="standing" reporter:datatype="link"/>
-                       <field reporter:label="Suffix/Title" name="suffix"  reporter:datatype="text"/>
+                       <field reporter:label="Suffix" name="suffix"  reporter:datatype="text"/>
                        <field reporter:label="Is Super User" name="super_user" reporter:datatype="bool"/>
                        <field reporter:label="Family Linkage or other Group" name="usrgroup" reporter:datatype="int"/>
                        <field reporter:label="OPAC/Staff Client User Name" name="usrname"  reporter:datatype="text"/>
index 775a19a..f9bdf90 100644 (file)
@@ -24,9 +24,9 @@
         </td>
     </tr>
     <tr fmclass='au' fmfield='passwd2' required='required'><td/><td id='verifyPassword'></td><td/></tr>
+    <tr fmclass='au' fmfield='prefix'/>
     <tr fmclass='au' fmfield='first_given_name' required='required'/>
     <tr fmclass='au' fmfield='second_given_name'/>
-    <tr fmclass='au' fmfield='prefix'/>
     <tr fmclass='au' fmfield='family_name' required='required'/>
     <tr fmclass='au' fmfield='suffix'/>
     <tr fmclass='au' fmfield='alias'/>