diff --git a/lib/NGCP/Panel/Utils/Datatables.pm b/lib/NGCP/Panel/Utils/Datatables.pm index d613940d60..b5a75545a9 100644 --- a/lib/NGCP/Panel/Utils/Datatables.pm +++ b/lib/NGCP/Panel/Utils/Datatables.pm @@ -165,8 +165,9 @@ sub process { offset => $pageStart, rows => $pageSize, }); - @rows = $rs->all; } + #for case $displayRecords < 0, that means All. And for all other cases too. + @rows = $rs->all; } for my $row (@rows) {