| Summary: | Single Selection Fields with lot of posible values not ordered | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Daniel Zarapico <dza.isban> | ||||
| Component: | Mylyn | Assignee: | Mylyn Inbox <mylyn-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Daniel Zarapico
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(). |