]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1907974: Updating call numbers in course module reflected in grid
authorJane Sandberg <sandbej@linnbenton.edu>
Thu, 11 Feb 2021 01:37:57 +0000 (17:37 -0800)
committerMichele Morgan <mmorgan@noblenet.org>
Tue, 27 Sep 2022 18:51:59 +0000 (14:51 -0400)
commit9ab93c45157ddfad2148008c3c82e4c9a4d2a182
tree3b8e9fa0de3f046b78e2f0515b77ac33cd6fad3d
parent3af2f3d640fc3c5b7ba247bda537a9ccc70c84c5
LP1907974: Updating call numbers in course module reflected in grid

Also:
  * refactors the updateItem method for more idiomatic RxJS usage (e.g.
    no nested subscribes)
  * corrects some Boolean, String, and Number types to boolean, string,
    and number (to use the primitive types instead of objects, as
    recommended by the Typescript handbook:
    https://www.typescriptlang.org/docs/handbook/basic-types.html#about-number-string-boolean-symbol-and-object)

To test:

1) Go to Local Admin > Course List
2) Double click on a course
3) Go to the materials tab
4) Add an item by barcode, making sure to supply a temporary call
   number, and that the call number checkbox is checked.
5) Note that the grid on the right display's the item's old call number,
   not its new one.
6) Apply this patch.
7) Repeat step 4.  Note that the temporary call number is reflected in
   the grid now.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts
Open-ILS/src/eg2/src/app/staff/share/course.service.ts