diff options
author | Gregory Chalenko <gregory.chalenko@zabbix.com> | 2020-08-02 14:18:51 +0300 |
---|---|---|
committer | Gregory Chalenko <gregory.chalenko@zabbix.com> | 2020-08-02 14:18:51 +0300 |
commit | e30c15c716487d71f8329ddd2eb48ec8535c770b (patch) | |
tree | 12bfdaabca855fdef371553fdacc10834b751925 /ui/app/controllers/CControllerHost.php | |
parent | f5d80303bc8ae5489920f8ad63a47592eb7b3515 (diff) |
..F....... [ZBXNEXT-710] fixed url for unsaved filter when sorting or changing result page
Diffstat (limited to 'ui/app/controllers/CControllerHost.php')
-rw-r--r-- | ui/app/controllers/CControllerHost.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |