related to #1465 max page added to pagination

This commit is contained in:
Matthieu Leproux
2021-10-08 10:26:07 +02:00
committed by plegall
parent 5723f99056
commit 758a7ef4d1
+1 -1
View File
@@ -1015,7 +1015,7 @@ SELECT
return array(
'lines' => $result,
'params' => $param,
'maxPage' => $max_page,
'maxPage' => ($max_page == 0) ? 1 : $max_page,
'summary' => $search_summary
);
}