Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The list of sensor types in the filter is not displayed in alphabetical order and it is a bit confusing.
Proposed resolution
Order the list before displaying it.
Remaining tasks
User interface changes
None
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#5 | 2558617-5.patch | 441 bytes | giancarlosotelo |
#2 | 2558617-2.patch | 441 bytes | giancarlosotelo |
Comments
Comment #2
giancarlosotelo CreditAttribution: giancarlosotelo at MD Systems GmbH commentedSensors types are added into the filter while sensors appear(order by category) that's why the type is not always in order.
Doing a sort by its keys should be enough.
Comment #3
juanse254 CreditAttribution: juanse254 at MD Systems GmbH commentedhum test?
Comment #4
miro_dietikerWhy sort by the key? The user only sees the label and thus it should be ordered by the label.
Comment #5
giancarlosotelo CreditAttribution: giancarlosotelo at MD Systems GmbH commentedSorting by label now.
Discussed with @Berdir and test is not really necessary for this issue.
Comment #6
miro_dietikerFully agree. Thx!
Comment #11
juanse254 CreditAttribution: juanse254 at MD Systems GmbH commentedComment #14
giancarlosotelo CreditAttribution: giancarlosotelo at MD Systems GmbH commented