LP1991590: Better order for survey admin fields
authorJane Sandberg <js7389@princeton.edu>
Mon, 3 Oct 2022 23:08:38 +0000 (16:08 -0700)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 16 Nov 2022 16:11:28 +0000 (11:11 -0500)
To test:
1. Press Admin > Local Admin
2. Press Surveys
3. Create a new survey.
4. Notice that the Start Date field comes before the End Date field.
5. Repeat steps 1-2.
6. Select a survey and edit selected.
7. Notice that the Start Date again comes before the End Date.

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Shula Link <slink@gchrl.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/eg2/src/app/staff/admin/local/survey/survey-edit.component.html
Open-ILS/src/eg2/src/app/staff/admin/local/survey/survey.component.html

index 86f2f20..f5d1c2c 100644 (file)
@@ -13,8 +13,9 @@
                 <eg-fm-record-editor displayMode="inline" 
                     hiddenFieldsList="id"
                     datetimeFieldsList="start_date,end_date"
-                    idlClass="asv" 
-                    mode="update" 
+                    fieldOrder="name,description,owner,start_date,end_date,opac,poll,required,usr_summary"
+                    idlClass="asv"
+                    mode="update"
                     [record]="surveyObj">
                 </eg-fm-record-editor>
             </div>
index 394d837..0ac33cb 100644 (file)
@@ -15,6 +15,7 @@
 
 <eg-fm-record-editor 
     datetimeFieldsList="start_date,end_date"
+    fieldOrder="name,description,owner,start_date,end_date,opac,poll,required,usr_summary"
     hiddenFieldsList="id"
     #editDialog 
     idlClass="asv">