When editing a surveillance category from Admin flow, lists of nodes are not sorted by node label

Description

When editing a surveillance category's membership via Admin -> Manage Surveillance Categories -> Edit, the lists of nodes (both member and available) are apparently unsorted. They should be sorted by node label, ascending case-insensitive, to make the user's life easier.

Identified in the course of the ULU project.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Jeff Gehlbach May 22, 2019 at 6:44 PM

PR merged. Re-resolving.

Jeff Gehlbach May 21, 2019 at 5:06 PM

New PR: https://github.com/OpenNMS/opennms/pull/2515

Apart from carrying through the sorting to the front-end code, this PR also sets the title attribute on the option elements created in the lists, so that we get a hover tooltip indicating the node's DBID and (if requisitioned) its foreignSource:foreignId tuple. This enhancement is a help when duplicate node labels are present in the inventory.

Pending Bamboo.

Jeff Gehlbach May 21, 2019 at 5:01 PM

Fixed only in back-end java.util.List. Sort gets undone in front-end code.

Jesse White April 15, 2019 at 8:34 PM

Fixed

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created April 10, 2019 at 5:45 PM
Updated May 22, 2019 at 6:44 PM
Resolved May 22, 2019 at 6:44 PM