funds: restrict fund selection for allocation to active funds
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 20 Apr 2021 22:28:46 +0000 (18:28 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 20 Apr 2021 22:31:21 +0000 (18:31 -0400)
Also pre-load values.

LH#34

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funding-sources.component.html

index 103ed38..3646ce7 100644 (file)
 
 <eg-fm-record-editor #applyCreditDialog idlClass="acqfscred">
 </eg-fm-record-editor>
-<eg-fm-record-editor #allocateToFundDialog idlClass="acqfa">
+<eg-fm-record-editor #allocateToFundDialog idlClass="acqfa"
+  [fieldOptions]="{fund:{linkedSearchConditions:{'active':'t'},preloadLinkedValues:true}}">
 </eg-fm-record-editor>