TT#86351 prevent datatable queries with no clipping

Change-Id: I0151a5602942f956c1879ee11f3edfd09e3eb112
(cherry picked from commit b821a57ca9)
changes/34/41834/2
Rene Krenn 5 years ago
parent 9e219608b3
commit 1f3193a56f

@ -76,7 +76,6 @@ sub process {
}
}
if (!$use_rs_cb) {
if (@searchColumns) {
($totalRecords, $totalRecordCountClipped) = _get_count_safe($c,$totalRecords_rs,$params);
@ -178,7 +177,7 @@ sub process {
});
}
#for case $displayRecords < 0, that means All. And for all other cases too.
@rows = $rs->all;
@rows = $rs->all if $displayRecords;
}
for my $row (@rows) {

Loading…
Cancel
Save