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

(-)a/Koha/REST/Plugin/Query.pm (-2 / +1 lines)
Lines 512-518 sub _validate_operator { Link Here
512
    my ($operator) = @_;
512
    my ($operator) = @_;
513
    my %allowed_operators =
513
    my %allowed_operators =
514
        map { $_ => 1 }
514
        map { $_ => 1 }
515
        qw(= != < > <= >= -in -ident -bool -not_bool -or like -like -not_like -between -not_between -not -and -regexp);
515
        qw(= != < > <= >= -in -ident -bool -not_bool -or like -like -not_like -between -not_between -not -and -regexp -not_in);
516
    Koha::Exceptions::REST::Query::InvalidOperator->throw( operator => $operator )
516
    Koha::Exceptions::REST::Query::InvalidOperator->throw( operator => $operator )
517
        unless exists $allowed_operators{$operator};
517
        unless exists $allowed_operators{$operator};
518
    return;
518
    return;
519
- 

Return to bug 37687