dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33650
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17212: Resource tables / analytics. Only including categories where datadimension=true in categorystruct...
------------------------------------------------------------
revno: 17212
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-10-22 16:53:14 +0200
message:
Resource tables / analytics. Only including categories where datadimension=true in categorystructure resource table.
modified:
dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.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-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java 2014-10-19 18:56:12 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java 2014-10-22 14:53:14 +0000
@@ -338,10 +338,10 @@
public void generateCategoryTable()
{
// ---------------------------------------------------------------------
- // Create table
+ // Create table - only using data dimension categories
// ---------------------------------------------------------------------
- List<DataElementCategory> categories = new ArrayList<>( categoryService.getAllDataElementCategories() );
+ List<DataElementCategory> categories = new ArrayList<>( categoryService.getDataDimensionDataElementCategories() );
Collections.sort( categories, IdentifiableObjectNameComparator.INSTANCE );