dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21678
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10328: Fixed bug in category option ui
------------------------------------------------------------
revno: 10328
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-03-19 19:45:25 +0100
message:
Fixed bug in category option ui
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/category/GetDataElementCategoryOptionListAction.java
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/indicator/ValidateIndicatorAction.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/category/GetDataElementCategoryOptionListAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/category/GetDataElementCategoryOptionListAction.java 2013-02-22 14:58:47 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/category/GetDataElementCategoryOptionListAction.java 2013-03-19 18:45:25 +0000
@@ -91,19 +91,16 @@
this.paging = createPaging( dataElementCategoryService.getDataElementCategoryOptionCountByName( key ) );
dataElementCategoryOptions = new ArrayList<DataElementCategoryOption>(
- dataElementCategoryService.getDataElementCategoryOptionsBetweenByName( key, paging.getStartPos(),
- paging.getPageSize() ) );
+ dataElementCategoryService.getDataElementCategoryOptionsBetweenByName( key, paging.getStartPos(), paging.getPageSize() ) );
}
else
{
- this.paging = createPaging( dataElementCategoryService.getDataElementCategoryCount() );
+ this.paging = createPaging( dataElementCategoryService.getDataElementCategoryOptionCount() );
dataElementCategoryOptions = new ArrayList<DataElementCategoryOption>(
dataElementCategoryService.getDataElementCategoryOptionsBetween( paging.getStartPos(), paging.getPageSize() ) );
}
- Collections.sort( dataElementCategoryOptions, IdentifiableObjectNameComparator.INSTANCE );
-
return SUCCESS;
}
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/indicator/ValidateIndicatorAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/indicator/ValidateIndicatorAction.java 2013-03-14 10:33:20 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/indicator/ValidateIndicatorAction.java 2013-03-19 18:45:25 +0000
@@ -67,20 +67,6 @@
this.id = id;
}
- private String name;
-
- public void setName( String name )
- {
- this.name = name;
- }
-
- private String shortName;
-
- public void setShortName( String shortName )
- {
- this.shortName = shortName;
- }
-
private String code;
public void setCode( String code )