ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7647

lastchange sort doesn't work with trigger.get method

    Details

    • Type: Incident report Incident report
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2rc1, 2.3.0
    • Component/s: API (A)
    • Labels:

      Description

      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}

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          3d 8h 48m 1 Pavels Jelisejevs (Inactive) 2014 Jan 17 17:18
          Resolved Resolved Merging Merging
          4d 15h 48m 1 Eduards Samersovs (Inactive) 2014 Jan 22 09:06
          Merging Merging Closed Closed
          2h 32m 1 Pavels Jelisejevs (Inactive) 2014 Jan 22 11:39
          Closed Closed Reopened Reopened
          1d 21h 15m 1 Pavels Jelisejevs (Inactive) 2014 Jan 24 08:55
          Reopened Reopened Closed Closed
          31m 29s 1 Pavels Jelisejevs (Inactive) 2014 Jan 24 09:26

            People

            • Assignee:
              Unassigned
              Reporter:
              Kodai Terashima
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: