From f0817dff782f934845993e26a9021abb44fba102 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Thu, 28 Jan 2021 14:26:19 -0800 Subject: [PATCH] LP1913604: Alert staff when associating item with course at a different library 1) Create a new course at a branch that can have items (BR3, for example). 2) Add an item with the circ_lib of BR3. Note that the item is added to the grid. 3) Add an item with a different circ_lib. Note that you get an alert showing that the item is not at the course's owning library. 4) Push the Cancel button. Notice that the item is not added to the course. 5) Repeat step 3 and push the Confirm button. Notice that the item is added to the course this time. Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan --- .../course-associate-material.component.html | 7 +++- .../course-associate-material.component.ts | 48 ++++++++++++---------- 2 files changed, 32 insertions(+), 23 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html index d5e1931f0a..f271c1eee9 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html @@ -6,7 +6,12 @@ - + + +