MT#56817 MT#56362 fix query param sorting for rs chained the regular way

Change-Id: I0dab56ae07666eb695d7f30ef633a876ff8258fb
(cherry picked from commit aae0b7e071)
mr10.5
Rene Krenn 1 year ago
parent 275d47b3ab
commit 60e5deb114

@ -1114,7 +1114,7 @@ sub apply_query_params {
$item_rs = $param->{new_rs}($c,$q,$item_rs);
} elsif (defined $param->{query} || defined $param->{query_type}) {
#regular chaining:
my($sub_where,$sub_attributes) = $self->get_query_callbacks($param);
my($sub_where,$sub_attributes) = $self->get_query_callbacks($p);
$item_rs = $item_rs->search($sub_where->($q,$c), $sub_attributes->($q,$c));
}
}

Loading…
Cancel
Save