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

          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          Same as ZBXNEXT-1564.

          Show
          Pavels Jelisejevs (Inactive) added a comment - Same as ZBXNEXT-1564 .
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7647.

          Show
          Pavels Jelisejevs (Inactive) added a comment - RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7647.
          Hide
          Eduards Samersovs (Inactive) added a comment - - edited

          (1) !==

          Pavels Jelisejevs RESOLVED in r41721.
          Eduards Samersovs CLOSED

          Show
          Eduards Samersovs (Inactive) added a comment - - edited (1) !== Pavels Jelisejevs RESOLVED in r41721. Eduards Samersovs CLOSED
          Hide
          Eduards Samersovs (Inactive) added a comment -

          Tested

          Show
          Eduards Samersovs (Inactive) added a comment - Tested
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          Fixed in 2.3.0 r41735.

          CLOSED.

          Show
          Pavels Jelisejevs (Inactive) added a comment - Fixed in 2.3.0 r41735. CLOSED.
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          This fix will be backported to 2.2.

          Show
          Pavels Jelisejevs (Inactive) added a comment - This fix will be backported to 2.2.
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          Fixed in 2.2.2rc1 r41845.

          CLOSED.

          Show
          Pavels Jelisejevs (Inactive) added a comment - Fixed in 2.2.2rc1 r41845. CLOSED.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: