From 161043b9118a9d344417664009a850b523c30bf7 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 22 Aug 2019 10:12:53 -0400 Subject: [PATCH] LP1837656 Org proximity admin disable org filter Disable the org unit filter for the auto-generated org unit proximity adjustment admin page so that it does not automatically filter the grid by any of the org unit fields. Modify the IDL to indicate that the 'pos' field on the org unit proximity adjustement class is required. To test: 1. Navigate to /eg2/en-US/staff/admin/server/actor/org_unit_proximity_adjustment 2. Create an adjustment if non exist. 3. Confirm the 'Position' field is now required. 4. Confirm new adjusment row appears in the grid after it's created. Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- Open-ILS/examples/fm_IDL.xml | 2 +- Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 75b52a7597..428b0b8d8b 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -6135,7 +6135,7 @@ SELECT usr, - + diff --git a/Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts b/Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts index 6ce93653e4..d806245a64 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts @@ -22,6 +22,11 @@ const routes: Routes = [{ path: 'actor/org_unit', loadChildren: '@eg/staff/admin/server/org-unit.module#OrgUnitModule' }, { + path: 'actor/org_unit_proximity_adjustment', + component: BasicAdminPageComponent, + data: [{schema: 'actor', + table: 'org_unit_proximity_adjustment', disableOrgFilter: true}] +}, { path: ':schema/:table', component: BasicAdminPageComponent }]; -- 2.11.0