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

(-)a/Koha/Item.pm (-7 / +2 lines)
Lines 113-121 sub store { Link Here
113
            $self->cn_sort($cn_sort);
113
            $self->cn_sort($cn_sort);
114
        }
114
        }
115
115
116
        C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" )
117
            unless $params->{skip_modzebra_update};
118
119
        logaction( "CATALOGUING", "ADD", $self->itemnumber, "item" )
116
        logaction( "CATALOGUING", "ADD", $self->itemnumber, "item" )
120
          if $log_action && C4::Context->preference("CataloguingLog");
117
          if $log_action && C4::Context->preference("CataloguingLog");
121
118
Lines 189-197 sub store { Link Here
189
            $self->paidfor('');
186
            $self->paidfor('');
190
        }
187
        }
191
188
192
        C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" )
193
            unless $params->{skip_modzebra_update};
194
195
        logaction( "CATALOGUING", "MODIFY", $self->itemnumber, "item " . Dumper($self->unblessed) )
189
        logaction( "CATALOGUING", "MODIFY", $self->itemnumber, "item " . Dumper($self->unblessed) )
196
          if $log_action && C4::Context->preference("CataloguingLog");
190
          if $log_action && C4::Context->preference("CataloguingLog");
197
    }
191
    }
Lines 201-206 sub store { Link Here
201
    }
195
    }
202
196
203
    my $result = $self->SUPER::store;
197
    my $result = $self->SUPER::store;
198
    C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" )
199
        unless $params->{skip_modzebra_update};
204
    $self->get_from_storage->_after_item_action_hooks({ action => $plugin_action });
200
    $self->get_from_storage->_after_item_action_hooks({ action => $plugin_action });
205
201
206
    return $result;
202
    return $result;
207
- 

Return to bug 26507