[NAS-2507] Definitions-snapshot-harvests.jsp need to be sorted by harvestname Created: 25/Feb/16 Updated: 03/Nov/16 Resolved: 19/Oct/16 |
|
Status: | Resolved |
Project: | NetarchiveSuite |
Component/s: | GUI |
Affects Version/s: | None |
Fix Version/s: | 5.2 |
Type: | Improvement | Priority: | Minor |
Reporter: | Søren Vejrup Carlsen (Inactive) | Assignee: | Søren Vejrup Carlsen (Inactive) |
Resolution: | Fixed | ||
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Sprint: | NAS 5.2 |
Verification: | 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 |