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

(-)a/svc/bib (+3 lines)
Lines 114-119 sub update_bib { Link Here
114
            }
114
            }
115
        }
115
        }
116
116
117
        if (C4::Context->preference('BiblioAddsAuthorities')) {
118
            BiblioAutoLink( $record, $frameworkcode );
119
        } 
117
        ModBiblio( $record, $biblionumber, $frameworkcode );
120
        ModBiblio( $record, $biblionumber, $frameworkcode );
118
        my $new_record = GetMarcBiblio({
121
        my $new_record = GetMarcBiblio({
119
            biblionumber => $biblionumber,
122
            biblionumber => $biblionumber,
(-)a/svc/new_bib (-1 / +4 lines)
Lines 74-79 sub add_bib { Link Here
74
        foreach my $field ( $record->field($itemtag) ) {
74
        foreach my $field ( $record->field($itemtag) ) {
75
            $record->delete_field($field);
75
            $record->delete_field($field);
76
        }
76
        }
77
78
        if (C4::Context->preference('BiblioAddsAuthorities')) {
79
            BiblioAutoLink( $record, $frameworkcode );
80
        } 
77
        my ( $biblionumber, $biblioitemnumber ) = AddBiblio( $record, $frameworkcode );
81
        my ( $biblionumber, $biblioitemnumber ) = AddBiblio( $record, $frameworkcode );
78
        my $new_record = GetMarcBiblio({ biblionumber => $biblionumber });
82
        my $new_record = GetMarcBiblio({ biblionumber => $biblionumber });
79
        if ( $query->url_param('items') ) {
83
        if ( $query->url_param('items') ) {
80
- 

Return to bug 21365