LP#1822414: (follow-up) remove au-linked fields sandbox editDialog
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 31 Jul 2019 14:55:06 +0000 (10:55 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 31 Jul 2019 14:55:06 +0000 (10:55 -0400)
Otherwise, the drop-downs for the User and Capture Staff fields
will attempt to fetch all user IDs from the database, which would
be awkward if attempted on a large database.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/share/date-select/date-select.component.css
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html

index a4af336..f6df154 100644 (file)
   <span i18n>Are you sure you want to confirm {numThings, plural, =1 {this thing} other {these {{numThings}} things}}?</span>
 </ng-template>
 
-<eg-fm-record-editor #bresvEditor
-  idlClass="bresv"
-  readonlyFields="cancel_time">
-</eg-fm-record-editor>
-<button class="btn btn-info" (click)="bresvEditor.open({})">
-  Test Readonly Date
-</button>
+<div class="row">
+  <eg-fm-record-editor #bresvEditor
+    idlClass="bresv"
+    hiddenFields="capture_staff,usr" readonlyFields="cancel_time">
+  </eg-fm-record-editor>
+  <button class="btn btn-info" (click)="bresvEditor.open({})">
+    Test Readonly Date
+  </button>
+</div>