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

(-)a/Koha/REST/V1/Acquisitions/Orders.pm (-1 / +8 lines)
Lines 75-80 sub list { Link Here
75
            $c->stash('koha.embed', $fixed_embed);
75
            $c->stash('koha.embed', $fixed_embed);
76
        }
76
        }
77
77
78
        if ( exists $reserved_params->{_order_by} ) {
79
            # _order_by passed, fix if required
80
            for ( my $i = 0; $i < scalar @{$reserved_params->{_order_by}}; $i++ ) {
81
                $reserved_params->{_order_by}->[$i] =~ s|biblio\.|biblio\.biblioitem\.|g
82
                    if $reserved_params->{_order_by}->[$i] =~ m/.*(isbn|ean|publisher).*/;
83
            }
84
        }
85
78
        # Merge sorting into query attributes
86
        # Merge sorting into query attributes
79
        $c->dbic_merge_sorting(
87
        $c->dbic_merge_sorting(
80
            {
88
            {
81
- 

Return to bug 29570