From e30c15c716487d71f8329ddd2eb48ec8535c770b Mon Sep 17 00:00:00 2001 From: Gregory Chalenko Date: Sun, 2 Aug 2020 14:18:51 +0300 Subject: ..F....... [ZBXNEXT-710] fixed url for unsaved filter when sorting or changing result page --- ui/app/controllers/CControllerHost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/app/controllers/CControllerHost.php') diff --git a/ui/app/controllers/CControllerHost.php b/ui/app/controllers/CControllerHost.php index cfec8b61cfd..f135594b070 100644 --- a/ui/app/controllers/CControllerHost.php +++ b/ui/app/controllers/CControllerHost.php @@ -217,7 +217,7 @@ abstract class CControllerHost extends CController { // Sort for paging so we know which IDs go to which page. CArrayHelper::sort($hosts, [['field' => $filter['sort'], 'order' => $filter['sortorder']]]); - $view_curl = (new CUrl('zabbix.php'))->setArgument('action', 'host.view'); + $view_curl = (new CUrl())->setArgument('action', 'host.view'); // Split result array and create paging. $paging = CPagerHelper::paginate($filter['page'], $hosts, $filter['sortorder'], $view_curl); -- cgit v1.2.3