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

(-)a/Koha/REST/V1/Acquisitions/Orders.pm (-2 / +3 lines)
Lines 127-134 sub list { Link Here
127
            # Instead we need a better and global solution in a Koha::*Biblio method
127
            # Instead we need a better and global solution in a Koha::*Biblio method
128
            for my $q ( qw( q query x-koha-query ) ) {
128
            for my $q ( qw( q query x-koha-query ) ) {
129
                next unless $reserved_params->{$q};
129
                next unless $reserved_params->{$q};
130
                $reserved_params->{$q} =~ s|"biblio.isbn":|"biblio.biblioitem.isbn":|g;
130
                for my $f ( qw( isbn ean publisher ) ) {
131
                $reserved_params->{$q} =~ s|"biblio.ean":|"biblio.biblioitem.ean":|g;
131
                    $reserved_params->{$q} =~ s|"biblio.$f":|"biblio.biblioitem.$f":|g;
132
                }
132
                push @query_params_array, $reserved_params->{$q};
133
                push @query_params_array, $reserved_params->{$q};
133
            }
134
            }
134
135
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-2 / +3 lines)
Lines 430-436 Link Here
430
                        }
430
                        }
431
                    },
431
                    },
432
                    {
432
                    {
433
                        "data": [% IF Koha.Preference('marcflavour')=='UNIMARC' %]"biblio.author:biblio.title:biblio.isbn:biblio.ean"[% ELSE %]"biblio.author:biblio.title:biblio.isbn"[% END %],
433
                        [% SET summary_fields = "biblio.author:biblio.title:biblio.isbn:biblio.publisher:me.internal_note:me.vendor_note" %]
434
                        [% IF Koha.Preference('marcflavour')=='UNIMARC' %][% SET summary_fields = summary_fields _ ":biblio.ean" %][% END %]
435
                        "data": "[% summary_fields %]",
434
                        "render": function(data, type, row, meta) {
436
                        "render": function(data, type, row, meta) {
435
                            var result = '';
437
                            var result = '';
436
                            if ( row && row.biblio_id != null ) {
438
                            if ( row && row.biblio_id != null ) {
437
- 

Return to bug 20212