Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2507

Definitions-snapshot-harvests.jsp need to be sorted by harvestname

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: GUI
    • Labels:
      None
    • Sprint:
      NAS 5.2
    • Verification:
      Hide

      Just manually created a bunch of snapshot harvests in a test instance (without activating any of them).

      Show
      Just manually created a bunch of snapshot harvests in a test instance (without activating any of them).

      Description

      Definitions-snapshot-harvests.jsp need to be sorted by harvestname.

      The code im Definitions-snapshot-harvests.jsp that is responsible for fetching the snapshot harvests:

      HarvestDefinitionDAO dao = HarvestDefinitionDAO.getInstance();
      Iterable<SparseFullHarvest> ihd = dao.getAllSparseFullHarvestDefinitions();
      

      The problem can be resolved by adding

      ORDER BY harvestdefinitions.name
      

      to the select in HarvestDefinitionDBDAO.getAllSparseFullHarvestDefinitions

        Attachments

          Activity

            People

            • Assignee:
              svc Søren Vejrup Carlsen (Inactive)
              Reporter:
              svc Søren Vejrup Carlsen (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: