Comment 2 for bug 1788299

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks for digging in to this, Garry. I'm not surprised that you aren't duplicating this in 3.0.9, since the big copy alerts change was released in 3.1 (https://bugs.launchpad.net/evergreen/+bug/1676608). Not being able to duplicate this in current master surprises me, though.

I was able to do the following on the MassLNC 3.1.4 demo server (https://wiki.evergreen-ils.org/doku.php?id=community_servers):

1) Use the Library Settings Editor (https://mlnc4.noblenet.org/eg/staff/admin/local/asset/org_unit_settings) to set "Display copy alert for in-house-use" to true for CONS.
2) Go to item status (https://mlnc4.noblenet.org/eg/staff/cat/item/search)
3) Enter barcode FIC400001583
4) Right click on the item > Add > Copy Alerts
5) Add a normal checkin copy alert.
6) Repeat step 3, add a normal checkout alert.
7) Go to in-house use (https://mlnc4.noblenet.org/eg/staff/circ/in_house_use/index), enter barcode FIC400001583

No alert appears for me in in-house use. It does for checkin and checkout, as expected.

According to my quick scan of the code, it looks like in-house use is still looking for content in the alert_message column in asset.copy, rather than entries in the new asset.copy_alert table. (https://github.com/evergreen-library-system/Evergreen/blob/master/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js#L123)