bug 3481 followup - ensure permanent location is stored when updating item
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
dafb3e20da
commit
d2943ebc6c
|
|
@ -1759,6 +1759,9 @@ sub _do_column_fixes_for_mod {
|
|||
(not defined $item->{'wthdrawn'} or $item->{'wthdrawn'} eq '')) {
|
||||
$item->{'wthdrawn'} = 0;
|
||||
}
|
||||
if (exists $item->{'location'} && !exists $item->{'permanent_location'}) {
|
||||
$item->{'permanent_location'} = $item->{'location'};
|
||||
}
|
||||
}
|
||||
|
||||
=head2 _get_single_item_column
|
||||
|
|
|
|||
Loading…
Reference in New Issue