When removing items with edited call numbers from a course, find or
create the resulting call number using the original call number's
owning_lib rather than the course owner.
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
# and other appropriate specifications
my $dest_acn = $cat_sess->request('open-ils.cat.call_number.find_or_create',
$authtoken, $orig_acn->label,
- $existing_acn->record, $course_lib,
+ $existing_acn->record, $orig_acn->owning_lib,
$existing_acn->prefix, $existing_acn->suffix,
$existing_acn->label_class)->gather(1);
my $acn_id = $dest_acn->{acn_id};