Ad Widget

Collapse

patch for host order in popup.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andreas Bollhalder
    Senior Member
    Zabbix Certified Specialist
    • Apr 2007
    • 144

    #1

    patch for host order in popup.php

    Hello

    Can you add the "order by host" after the line 269 in "popup.php" ? The dropdown menu with the hosts has otherwise the order of the hostid.

    Code:
    $sql .= DBid2nodeid("h.hostid")."=".$nodeid.
        " and h.hostid in (".$accessible_hosts.")".
        ($monitored_hosts ? " and h.status=".HOST_STATUS_MONITORED : "")[B][COLOR=Red].
        " order by host";[/COLOR][/B]
    Sorry that I don't provide a patch file. But for the future, can someone tell me the options for diff expected by ZABBIX developers ?

    Andreas
    Last edited by Andreas Bollhalder; 20-06-2007, 09:56.
    Zabbix statistics
    Total hosts: 380 - Total items: 12190 - Total triggers: 4530 - Required server performance: 224.2
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Please keep the same simplified format for minor patches. Thanks for the patch!
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...