]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1125471 - Use label instead of id in recording in-house use prompt
authorBen Shum <bshum@biblio.org>
Sat, 8 Feb 2014 08:42:07 +0000 (03:42 -0500)
committerBill Erickson <berick@esilibrary.com>
Mon, 17 Feb 2014 20:50:35 +0000 (15:50 -0500)
commita4963a1da50cc38d23bdfb31ad89a6bb867371ef
treeffe29aff69ff4f921560ce6545f30fa173e3db59
parent201eff673138018df4ef9bf83f5916ab24a59790
LP1125471 - Use label instead of id in recording in-house use prompt

When recording multiple in-house use with the library settings for threshold
prompts, the prompt would bring up the ID as the variable instead of the name
of the non-cataloged material. This caused confusion among staff members who
might see a message like: "Are you sure you want to mark 9 as having been used
21 times?" (9 being the id, not the name of the non-cataloged material)

This commit leverages existing code which had been commented out and under
the ID to use the label name for the non-cataloged material instead. Also,
minor bugfix with a missing semi-colon at the end of the function being used.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/xul/staff_client/server/circ/in_house_use.js