From: Jane Sandberg Date: Wed, 11 Jan 2023 03:17:18 +0000 (-0800) Subject: LP2002435: Don't allow shelving location fm-editor to change delete flag X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=74614604c0f80e873101a171c5953075f1b30524;p=Evergreen.git 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 --- 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',