From 3bd72a7782696ff03c8823c03459fee3be435d89 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Tue, 10 Jan 2023 19:17:18 -0800 Subject: [PATCH] LP2002435: Don't allow shelving location fm-editor to change delete flag To test: 1. Go to the Local Admin > Shelving Locations Editor screen 2. Select a location and edit it. 3. Note that with this patch in place, the Delete checkbox is no longer editable. Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan --- Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts index 267f008108..22e40f67c7 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts @@ -28,6 +28,7 @@ const routes: Routes = [{ data: [{ schema: 'asset', table: 'copy_location', + readonlyFields: 'deleted', fieldOrder: 'owning_lib,name,opac_visible,circulate,holdable,hold_verify,checkin_alert,deleted,label_prefix,label_suffix,url,id'}] }, { path: 'asset/shelving_location_groups', -- 2.11.0