Community
Participate
Working Groups
Build Identifier: 20110615-0604 When a Single Selection Field has lot of posible values, the combo box is not ordered, so locating a especific value may become so hard. It would be very useful this kind of fields be ordered when they had lot of values. Reproducible: Always Steps to Reproduce: 1. Open a task editor 2. Find a task attribute with a Single Selection field editor and lots of posible values that are not ordered (I use product field of our bugzilla or some custom fields with 50 or more posible values)
Created attachment 206216 [details] git patch solution example on SingleSelectionAtributeEditor Class This is a posible solution applied over SingleSelectionAtributeEditor class that orders combo field values when there are more than 20 posible values. I have selected 20 because list under 20 entries can be managed without problems, but some other value may be used (10, 15, 30, ...).
The ordering of items displayed by the control reflect the ordering of the configuration options that are provided by the connector. In order to present them in sorted order please sort the collection returned by getAttributeMapper().getOptions().