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

(-)a/C4/Biblio.pm (-5 / +4 lines)
Lines 211-220 sub AddBiblio { Link Here
211
    try {
211
    try {
212
        $schema->txn_do(sub {
212
        $schema->txn_do(sub {
213
213
214
            if (C4::Context->preference('BiblioAddsAuthorities')) {
215
                BiblioAutoLink( $record, $frameworkcode );
216
            }
217
218
            # transform the data into koha-table style data
214
            # transform the data into koha-table style data
219
            SetUTF8Flag($record);
215
            SetUTF8Flag($record);
220
            my $olddata = TransformMarcToKoha( $record, $frameworkcode );
216
            my $olddata = TransformMarcToKoha( $record, $frameworkcode );
Lines 284-289 sub AddBiblio { Link Here
284
            # update MARC subfield that stores biblioitems.cn_sort
280
            # update MARC subfield that stores biblioitems.cn_sort
285
            _koha_marc_update_biblioitem_cn_sort( $record, $olddata, $frameworkcode );
281
            _koha_marc_update_biblioitem_cn_sort( $record, $olddata, $frameworkcode );
286
282
283
            if (C4::Context->preference('BiblioAddsAuthorities')) {
284
                BiblioAutoLink( $record, $frameworkcode );
285
            }
286
287
            # now add the record
287
            # now add the record
288
            ModBiblioMarc( $record, $biblionumber ) unless $defer_marc_save;
288
            ModBiblioMarc( $record, $biblionumber ) unless $defer_marc_save;
289
289
290
- 

Return to bug 27577