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>
if ( obj.test_barcode(barcode) ) { /* good */ } else { /* bad */ return; }
}
} else {
- barcode = ( obj.controller.view.in_house_use_menu.value );
- //barcode = obj.data.hash.cnct[ obj.controller.view.in_house_use_menu.value ].name()
+ barcode = obj.data.hash.cnct[ obj.controller.view.in_house_use_menu.value ].name();
}
var multiplier = Number( obj.controller.view.in_house_use_multiplier_textbox.value );