Set default value for rows per page using WEB_EVENTS_PER_PAGE. Fixes #3728

pull/4020/head
Isaac Connor 2024-05-21 09:40:47 -04:00
parent 7a8f9a603d
commit d4c0203aac
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ if (!$filter->Id()) {
#$filter->addTerm(array('cnj'=>'and', 'attr'=>'StartDateTime', 'op'=> '<=', 'val'=>''));
}
if (!isset($_COOKIES['zmEventsTable.bs.table.pageList'])) {
zm_setcookie('zmEventsTable.bs.table.pageList', ZM_WEB_EVENTS_PER_PAGE);
}
parseSort();
$filterQuery = $filter->querystring();