]> git.evergreen-ils.org Git - working/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)
committerDan Wells <dbw2@calvin.edu>
Thu, 23 Aug 2018 18:59:33 +0000 (14:59 -0400)
commitf0a44b0502e619f6a16b2bceb7789cb59a3a7bf0
treeedbc16a94e5d92424cc28154a85f90fac1082b84
parent18ea1a43d058329a47ac3edb2d0bd401e5061e11
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>
Open-ILS/web/js/ui/default/staff/circ/checkin/app.js
Open-ILS/web/js/ui/default/staff/circ/services/item.js