]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1777675: Fix code to update Item Status grid
authorRemington Steed <rjs7@calvin.edu>
Wed, 22 Aug 2018 18:19:19 +0000 (14:19 -0400)
committerKathy Lussier <klussier@masslnc.org>
Tue, 4 Sep 2018 18:49:57 +0000 (14:49 -0400)
commitcfdb4b998b8c751ea8ce60aaf47ddecae0ab4797
tree3578aa7836464c6b75db415f78d25118e7d13134
parentb7ce408d424141a5bc34d699c5bdf52274648117
LP#1777675: Fix code to update Item Status grid

Testing revealed that the grid rows use a different data structure, and
the object member names include dots (periods). Thus, bracket notation
is required to access those members.

This commit also makes a few smaller changes:
  - Prevents an error in the Check-in app when a last_copy_inventory
    doesn't exist yet.
  - Removes the "refresh" parameter from the updateInventory() function,
    which is never supplied when called, nor used by the function.
  - Adds some brief code comments.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/circ/checkin/app.js
Open-ILS/web/js/ui/default/staff/circ/services/item.js