[ZBX-8302] Sorting by name on Configuration -> Discovery does not work Created: 2014 Jun 05  Updated: 2017 May 30  Resolved: 2014 Jun 10

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.3
Fix Version/s: 2.2.4rc1

Type: Incident report Priority: Trivial
Reporter: Kodai Terashima Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: discovery, sorting
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Sorting by name on Configuration -> Discovery does not work.



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2014 Jun 05 ]

Works OK in 2.3.2, broken only in 2.2.4.

Comment by Andrejs Čirkovs (Inactive) [ 2014 Jun 05 ]

RESOLVED in r46238.

Comment by Alexander Vladishev [ 2014 Jun 09 ]

(1) @2.2 and @trunk

'sortfield' option should be removed from API call

andrewtch RESOLVED in 46307 (will merge with trunk later)

sasha CLOSED

Comment by Alexander Vladishev [ 2014 Jun 09 ]

(2) Will be nice to replace API_OUTPUT_EXTEND with array of required fields in this API call too.

andrewtch RESOLVED in 46307 (API_OUTPUT_EXTEND left only in dchecks in edit form since virtually all fields are used)

sasha REOPENED API_OUTPUT_EXTEND should not be used anywhere in the frontend code.

RESOLVED in 46311.

sasha CLOSED

Comment by Alexander Vladishev [ 2014 Jun 09 ]

(3) $druleId variable should be renamed. There it is not identifier of the discovery rule.

foreach ($data['drules'] as $druleId => $drule) { 
    ...
}

RESOLVED in 46311.

sasha CLOSED

Comment by Alexander Vladishev [ 2014 Jun 09 ]

(4) Please review my changes in r46313 before a merge.

andrewtch CLOSED

Comment by Andrejs Čirkovs (Inactive) [ 2014 Jun 10 ]

CLOSED by r46328 in 2.2, ported to trunk in r46335.

Comment by Alexander Vladishev [ 2014 Jun 10 ]

(5) Incorrect changes in ChangeLog

+..F....... [ZBX-8302] fixed ordering of discovery rules (Andrejs)
+..F....... [ZBX-8209] improved host and item name column widths on Monitoring / Latest data page (Krists)

sasha WON'T FIX It's merged proper

Comment by Alexander Vladishev [ 2014 Jun 10 ]

Trunk was tested successfully!

Generated at Fri Apr 19 21:27:19 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.