If an item had been deleted while it had a status of On Holds Shelf, it would permanently show up on
the browse holds list. This will exclude deleted copies from the results.
Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
}
},
where => {
- '+acp' => { status => OILS_COPY_STATUS_ON_HOLDS_SHELF },
+ '+acp' => { status => OILS_COPY_STATUS_ON_HOLDS_SHELF, deleted => 'f' },
'+alhr' => {
capture_time => { "!=" => undef },
current_copy => $current_copy,