Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7647

lastchange sort doesn't work with trigger.get method

XMLWordPrintable

      lastchange sort doesn't work with trigger.get method. There are no difference with "ASC" and "DESC" on sortorder parameter.

      • trigger.get with parameter "sortfield":"lastchange" and "sortorder:ASC"

      {"jsonrpc":"2.0","result":[

      {"triggerid":"22328","state":"0","lastchange":"1389679853","value_flag":"0"}

      ,

      {"triggerid":"20354","state":"0","lastchange":"1389679853","value_flag":"0"}

      ],"id":1}

      • trigger.get with parameter "sortfield":"lastchange" and "sortorder:DESC"

      {"jsonrpc":"2.0","result":[

      {"triggerid":"22328","state":"0","lastchange":"1389679853","value_flag":"0"}

      ,

      {"triggerid":"20354","state":"0","lastchange":"1389679853","value_flag":"0"}

      ],"id":1}

            Unassigned Unassigned
            kodai Kodai Terashima
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: