dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15204
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5397: Remove anonymous programs from program list in dataentry and in Beneficiary registered.
------------------------------------------------------------
revno: 5397
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-12-14 14:53:08 +0700
message:
Remove anonymous programs from program list in dataentry and in Beneficiary registered.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/DataRecordingSelectAction.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-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/DataRecordingSelectAction.java'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/DataRecordingSelectAction.java 2011-09-14 06:36:13 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/DataRecordingSelectAction.java 2011-12-14 07:53:08 +0000
@@ -105,7 +105,7 @@
programs.addAll( patient.getPrograms() );
- programs.addAll( programService.getPrograms( true ) );
+ programs.addAll( programService.getPrograms( true, false ) );
programs.retainAll( programService.getPrograms( selectedStateManager.getSelectedOrganisationUnit() ) );