return;
}
- /* Hardcoded check for copy status 0, 7, or 12 */
+ /*
+ Hardcoded check for copy statuses per default opac_visible
+ setting in config.copy_status; replace with a copy attribute
+ check for visible status if holdings_xml ever gets that
+ */
var ident;
dojo.query('status', cp).forEach(function (status) {
ident = status.getAttribute('ident');
});
- if (parseInt(ident) !== 0 &&
- parseInt(ident) != 7 &&
- parseInt(ident) != 12) {
+ if (parseInt(ident) !== 0 && /* Available */
+ parseInt(ident) != 1 && /* Checked out */
+ parseInt(ident) != 5 && /* In process */
+ parseInt(ident) != 6 && /* In transit */
+ parseInt(ident) != 7 && /* Reshelving */
+ parseInt(ident) != 8 && /* On holds shelf */
+ parseInt(ident) != 9 && /* On order */
+ parseInt(ident) != 12
+ ) {
return;
}