LP1721109: Update item status when holdings are edited user/sandbergja/lp1721109_update_item_status_after_holdings_changed
authorJane Sandberg <sandbej@linnbenton.edu>
Sat, 2 Mar 2019 01:03:31 +0000 (17:03 -0800)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 5 Mar 2019 05:47:37 +0000 (21:47 -0800)
commit9c4492f37aba6beac0d142024e798ad8452e36be
tree57fa7e89b554b4df203f9453a9e06bdfe835141c
parentd1e58bbe6dd32d65f2f20d52607eafa36e01e20e
LP1721109: Update item status when holdings are edited

To test:
1) Go to Item Status List View, select an item, and go to Actions >
Edit > Items (or Call Numbers, or both).
2) Make a change to one of the columns you have active in
the Item Status list view. Click Save and Exit.
3) Note that the list view of Item Status has not updated.
4) Load this commit.
5) Repeat steps 1-2.
6) Note that the columns are updated this time.  Note that
there is a new status column, and that an icon appears for
all the rows that you have changed.  Also, note that there
is a toast message in the bottom right hand corner of the
screen confirming that you have successfully made your change.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/templates/staff/cat/item/index.tt2
Open-ILS/src/templates/staff/cat/item/t_list.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js