------------------------------------------------------------ revno: 2752 committer: Jan Henrik Overland <janhenrik.overl...@gmail.com> branch nick: 2.0.6 timestamp: Wed 2011-02-02 14:41:02 +0100 message: (GIS) Forthcoming periods filtered out. modified: dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetPeriodsByPeriodTypeAction.java
-- lp:~dhis2-devs-core/dhis2/2.0.6 https://code.launchpad.net/~dhis2-devs-core/dhis2/2.0.6 Your team DHIS 2 developers is subscribed to branch lp:~dhis2-devs-core/dhis2/2.0.6. To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/2.0.6/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetPeriodsByPeriodTypeAction.java' --- dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetPeriodsByPeriodTypeAction.java 2010-04-12 21:23:33 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetPeriodsByPeriodTypeAction.java 2011-02-02 13:41:02 +0000 @@ -104,6 +104,8 @@ period.setName( format.formatPeriod( period ) ); } + FilterUtils.filter( object, new PastAndCurrentPeriodFilter() ); + Collections.sort( object, new PeriodComparator() ); }
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp