From 81d27a2cabbf265f4d381631343702091c3618d7 Mon Sep 17 00:00:00 2001 From: Andrejs Verza Date: Thu, 23 Jan 2020 17:23:19 +0200 Subject: [PATCH] added pagination to the latest data view --- frontends/php/latest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontends/php/latest.php b/frontends/php/latest.php index 9cf72cf002..7245c94ade 100644 --- a/frontends/php/latest.php +++ b/frontends/php/latest.php @@ -216,6 +216,8 @@ if ($hosts) { } } +$pagingLine = getPagingLine($items, $sortOrder, new CUrl('latest.php')); + if ($items) { // macros $items = CMacrosResolverHelper::resolveItemKeys($items); @@ -796,6 +798,7 @@ foreach ($hosts as $hostId => $dbHost) { $form->addItem([ $table, + $pagingLine, new CActionButtonList('graphtype', 'itemids', [ GRAPH_TYPE_STACKED => ['name' => _('Display stacked graph')], GRAPH_TYPE_NORMAL => ['name' => _('Display graph')] -- 2.21.0.windows.1