[ZBX-6776] Order the list for icon selection in maps by name Created: 2013 Jul 09  Updated: 2017 May 30  Resolved: 2013 Oct 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.6
Fix Version/s: 2.1.1

Type: Incident report Priority: Trivial
Reporter: Marc Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: images, maps, order, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-6977 Configuration-->Maps-->Edit map eleme... Closed

 Description   

Would be nice if list of icons in maps is ordered by i.name



 Comments   
Comment by Guntis Zarins (Inactive) [ 2013 Jul 15 ]

Added sorting by icon names using CArrayHelper::sort() method.

Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 15 ]

(1) This problem could be fixed easier by just resetting the keys in $data['iconList'] using array_values().

guntis.zarins Resolved in revision 36958.

jelisejev CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 15 ]

TESTED.

Comment by Guntis Zarins (Inactive) [ 2013 Jul 15 ]

Available in version pre-2.1.1 r36965.

Comment by richlv [ 2013 Jul 15 ]

(2) changelog entries start with a lowercase letter
(although i couldn't find it documented at this time. if so, it must be noted in the guidelines, too)

guntis.zarins Fixed changelog entry in r36965

<richlv> changelog entry is ok, but i moved changelog & commit message guidelines to the public wiki. please, review: https://www.zabbix.org/wiki/Docs/specs/development_guidelines#Changelog_and_commit_messages

sasha CLOSED

Comment by richlv [ 2013 Aug 08 ]

(3) functional change, let's list it in whatsnew

sasha It's not a functional change. Closing.

<richlv> sorry, how can it not be a functional change ? functionality changed
for users who have uploaded a larger amount of icons this will be a notable improvement.

added at https://www.zabbix.com/documentation/2.2/manual/introduction/whatsnew220#icons_in_map_element_properties_now_sorted , please review

sasha Reviewed

CLOSED

Generated at Thu Mar 28 11:22:33 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.