dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17813
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7239: Updating category option combos when update category combo
------------------------------------------------------------
revno: 7239
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-06-07 15:53:31 +0200
message:
Updating category option combos when update category combo
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/categorycombo/UpdateDataElementCategoryComboAction.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/categorycombo/UpdateDataElementCategoryComboAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/categorycombo/UpdateDataElementCategoryComboAction.java 2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/categorycombo/UpdateDataElementCategoryComboAction.java 2012-06-07 13:53:31 +0000
@@ -105,6 +105,8 @@
dataElementCategoryCombo.setCategories( updatedCategories );
dataElementCategoryService.updateDataElementCategoryCombo( dataElementCategoryCombo );
+
+ dataElementCategoryService.generateOptionCombos( dataElementCategoryCombo );
return SUCCESS;
}