← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2246: DataSet module - Dataset Assignment Editor - Updating assigment dataset to orgunit without making...

 

------------------------------------------------------------
revno: 2246
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-09-27 14:56:19 +0700
message:
  DataSet module - Dataset Assignment Editor - Updating assigment dataset to orgunit without making to destroy the link between dataset and the assigned orgunits
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/SaveAssignMultiDataSetForOrgunitAction.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-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/SaveAssignMultiDataSetForOrgunitAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/SaveAssignMultiDataSetForOrgunitAction.java	2010-05-17 16:13:24 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/SaveAssignMultiDataSetForOrgunitAction.java	2010-09-27 07:56:19 +0000
@@ -94,8 +94,6 @@
 
             Set<Source> assignedSources = dataSet.getSources();
 
-            assignedSources.removeAll( convert( unitsInTheTree ) );
-
             Collection<OrganisationUnit> selectedOrganisationUnits = selectionTreeManager
                 .getReloadedSelectedOrganisationUnits();