|
Lines 76-81
sub store {
Link Here
|
| 76 |
$self->itype($self->biblio->biblioitem->itemtype); |
76 |
$self->itype($self->biblio->biblioitem->itemtype); |
| 77 |
} |
77 |
} |
| 78 |
|
78 |
|
|
|
79 |
$self->timestamp(undef) if $self->timestamp; # Maybe move this to Koha::Object->store? |
| 80 |
|
| 79 |
my $today = dt_from_string; |
81 |
my $today = dt_from_string; |
| 80 |
unless ( $self->in_storage ) { #AddItem |
82 |
unless ( $self->in_storage ) { #AddItem |
| 81 |
unless ( $self->permanent_location ) { |
83 |
unless ( $self->permanent_location ) { |
|
Lines 156-163
sub store {
Link Here
|
| 156 |
$self->permanent_location( $self->location ); |
158 |
$self->permanent_location( $self->location ); |
| 157 |
} |
159 |
} |
| 158 |
|
160 |
|
| 159 |
$self->timestamp(undef) if $self->timestamp; # Maybe move this to Koha::Object->store? |
|
|
| 160 |
|
| 161 |
C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" ); |
161 |
C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" ); |
| 162 |
|
162 |
|
| 163 |
$self->_after_item_action_hooks({ action => 'modify' }); |
163 |
$self->_after_item_action_hooks({ action => 'modify' }); |