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

          Kodai Terashima created issue -
          Alexander Vladishev made changes -
          Field Original Value New Value
          Zabbix ID NA RTF
          Oleksiy Zagorskyi made changes -
          Labels api triggers sorting triggers
          Pavels Jelisejevs (Inactive) made changes -
          Assignee Pavels Jelisejevs [ jelisejev ]
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          Same as ZBXNEXT-1564.

          Show
          Pavels Jelisejevs (Inactive) added a comment - Same as ZBXNEXT-1564 .
          Pavels Jelisejevs (Inactive) made changes -
          Link This issue is duplicated by ZBXNEXT-1564 [ 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.
          Pavels Jelisejevs (Inactive) made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.3.0 (trunk) [ 12006 ]
          Resolution Fixed [ 1 ]
          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
          Pavels Jelisejevs (Inactive) made changes -
          Assignee Pavels Jelisejevs [ jelisejev ] Eduards Samersovs [ eduards ]
          Hide
          Eduards Samersovs (Inactive) added a comment -

          Tested

          Show
          Eduards Samersovs (Inactive) added a comment - Tested
          Eduards Samersovs (Inactive) made changes -
          Status Resolved [ 5 ] Tested [ 10002 ]
          Assignee Eduards Samersovs [ eduards ] Pavels Jelisejevs [ jelisejev ]
          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.
          Pavels Jelisejevs (Inactive) made changes -
          Status Tested [ 10002 ] Closed [ 6 ]
          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.
          Pavels Jelisejevs (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          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.
          Pavels Jelisejevs (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Fix Version/s 2.2.2rc1 [ 12011 ]
          Resolution Fixed [ 1 ]
          Alexei Vladishev made changes -
          Workflow Zabbix workflow [ 33529 ] Zabbix workflow - new [ 47911 ]
          Alexander Vladishev made changes -
          Workflow Zabbix workflow - new [ 47911 ] Copy of Zabbix workflow - new [ 68175 ]
          Alexander Vladishev made changes -
          Workflow Copy of Zabbix workflow - new [ 68175 ] Zabbix workflow - new [ 83397 ]
          Gatis Rumbens made changes -
          Issue Type Bug [ 1 ] Incident report [ 10110 ]
          Zabbix ID RTF
          Assignee Pavels Jelisejevs [ jelisejev ]
          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: