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

(-)a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/koha-backend.js (-1 / +1 lines)
Lines 108-114 define( [ '/cgi-bin/koha/svc/cataloguing/framework?frameworkcode=&callback=defin Link Here
108
                '/cgi-bin/koha/svc/bib/'+ id
108
                '/cgi-bin/koha/svc/bib/'+ id
109
            ).done( function( metadata, status, xhr ) {
109
            ).done( function( metadata, status, xhr ) {
110
                let encoding_issues = xhr.getResponseHeader('invalid-metadata');
110
                let encoding_issues = xhr.getResponseHeader('invalid-metadata');
111
                if( encoding_issues ){
111
                if( encoding_issues > 0 ){
112
                    humanMsg.displayAlert( _("Record had encoding issues, please switch to the basic editor to view details") );
112
                    humanMsg.displayAlert( _("Record had encoding issues, please switch to the basic editor to view details") );
113
                }
113
                }
114
                $.get(
114
                $.get(
(-)a/svc/bib (-2 / +1 lines)
Lines 69-75 sub fetch_bib { Link Here
69
    my $biblio = Koha::Biblios->find( $biblionumber );
69
    my $biblio = Koha::Biblios->find( $biblionumber );
70
    my $record;
70
    my $record;
71
    my $exception;
71
    my $exception;
72
    my $invalid_metadata;
72
    my $invalid_metadata = 0;
73
    eval { $record = $biblio->metadata->record( { embed_items => scalar $query->param('items') } ) };
73
    eval { $record = $biblio->metadata->record( { embed_items => scalar $query->param('items') } ) };
74
    if ($@) {
74
    if ($@) {
75
        $exception = $@;
75
        $exception = $@;
76
- 

Return to bug 35181