Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5265

Resource Types are not ordered on Choose Resources Page



    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.1
    • Component/s: Web UI - Reporting
    • Security Level: Default (Default Security Scheme)
    • Labels:


      When generating a resource graph report, a tree of available resources classified by resource type is displayed. The resource types are not displayed on a specific order but the resources displayed inside each resource type are properly ordered alphabetically.

      You can also see the same random order for the resource types after generating the report; I mean, the order you saw when choosing the resources for the resource types is the same order of the graphs in the report.

      I know that we can use the search feature, but I guess that it would be useful to order the resource types, to visually identify quickly the resources we want to choose.

      I'm guessing that the order is based on the list returned by DefaultResourceDao.getResourceTypes().

      I'm not sure about how the GWT component retrieve the available resource information but my suggestion is to order the generic index resource types in order to keep the best between the current view and the ordered view, so we could add order to getGenericIndexResourceTypes().




            • Assignee:
              agalue Alejandro Galue
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: