]> 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 17:52:17 +0000 (13:52 -0400)
commit90896bddfb9410738471cd525ecba913d63214a3
tree960d12d9b96bfbc013d6ac6a4baa87c13d707b2d
parentd42c3e50c356aa6146767554260b36f54a556bad
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