[ZBX-4676] Dashboard link to triggers (from widget "System status") should reset host filter on trigger page Created: 2012 Feb 18  Updated: 2017 May 30  Resolved: 2012 Apr 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.9 (beta)
Fix Version/s: 2.0.0rc3

Type: Incident report Priority: Minor
Reporter: Jens Berthold Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: dashboard, filters, links, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 6.0.3
mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64)
PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli)



 Description   

When clicking on a host group in widget "System status", the trigger page is opened, but the host filter is not reset.
Behaviour should be the same as in widget "Host status".

The different URLs show it:
System status



 Comments   
Comment by Alexey Fukalov [ 2012 Apr 02 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4676

Comment by Toms (Inactive) [ 2012 Apr 03 ]

(1) there is possibility to call makeTriggersPopup() twice so select_config() is called twice, same data are extracted from DB

<Vedmak> select_config query database only once, consequent calls get data from cache. RESOLVED

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 03 ]

(2) is it possible to get all the event data in one get() not in foreach loop? blocks.inc.php line:241

<Vedmak> Probably, but some serious development is needed there, as we need one last event for each trigger. RESOLVED

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 03 ]

(3) There is some more 1 to true conversions in $options

<Vedmak> RESOLVED

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 03 ]

(4) Isn't it possible to skip order_result() line:186 and sort values in SQL?

<Vedmak> No, as we need natural sort in frontend. RESOLVED

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 03 ]

(5) When visible all or separated there is a pointer cursor when moving over 0, when only unacknowledged then text cursor. inconsistency

<Vedmak> RESOLVED

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 03 ]

(6) code duplication in switch statement line:284 blocks.inc.php

<Vedmak> RESOLVED

<Toms> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 04 ]

review my changes, I think this is more readable and structural code. If everything OK, merge.

<Vedmak> I changed once more please review.

<Toms> CLOSED

Comment by Alexey Fukalov [ 2012 Apr 04 ]

svn://svn.zabbix.com/trunk 26620

Generated at Wed May 08 21:30:09 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.