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=c4cba7673a6d6589423ff07112271dbb40cccf5e;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 c87c51795d..5267c04e90 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',