]> 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:44:53 +0000 (15:44 -0500)
commitddbf7fc70d05d08c1fdceade812f9a26bc33d91a
treeff606c0e22236f6d858fa26ef8e427e01fcc3e43
parentbe5803f14b193e0f39b50731624c6206baa08bb1
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