dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17872
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7289: [mobile] fix single event filter
------------------------------------------------------------
revno: 7289
committer: Long <thanhlongngo1988@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-06-14 11:21:00 +0700
message:
[mobile] fix single event filter
modified:
dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventAction.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-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventAction.java'
--- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventAction.java 2012-05-24 14:51:18 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventAction.java 2012-06-14 04:21:00 +0000
@@ -105,7 +105,7 @@
for ( Program program : allProgram )
{
- if ( program.isSingleEvent() )
+ if ( program.isSingleEvent() && program.isRegistration() )
{
singleEventList.add( program );
}