View | Details | Raw Unified | Return to bug 26507
Collapse All | Expand All

(-)a/Koha/Item.pm (-8 / +5 lines)
Lines 110-118 sub store { Link Here
110
            $self->cn_sort($cn_sort);
110
            $self->cn_sort($cn_sort);
111
        }
111
        }
112
112
113
        C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" )
114
            unless $params->{skip_modzebra_update};
115
116
        logaction( "CATALOGUING", "ADD", $self->itemnumber, "item" )
113
        logaction( "CATALOGUING", "ADD", $self->itemnumber, "item" )
117
          if $log_action && C4::Context->preference("CataloguingLog");
114
          if $log_action && C4::Context->preference("CataloguingLog");
118
115
Lines 168-176 sub store { Link Here
168
            $self->permanent_location( $self->location );
165
            $self->permanent_location( $self->location );
169
        }
166
        }
170
167
171
        C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" )
172
            unless $params->{skip_modzebra_update};
173
174
        $self->_after_item_action_hooks({ action => 'modify' });
168
        $self->_after_item_action_hooks({ action => 'modify' });
175
169
176
        logaction( "CATALOGUING", "MODIFY", $self->itemnumber, "item " . Dumper($self->unblessed) )
170
        logaction( "CATALOGUING", "MODIFY", $self->itemnumber, "item " . Dumper($self->unblessed) )
Lines 181-187 sub store { Link Here
181
        $self->dateaccessioned($today);
175
        $self->dateaccessioned($today);
182
    }
176
    }
183
177
184
    return $self->SUPER::store;
178
    my $result = $self->SUPER::store;
179
    C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" )
180
        unless $params->{skip_modzebra_update};
181
182
    return $result;
185
}
183
}
186
184
187
=head3 delete
185
=head3 delete
188
- 

Return to bug 26507