← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2378: Minor fixed in standard report pagination.

 

------------------------------------------------------------
revno: 2378
committer: Quang <Quang@Quang-PC>
branch nick: trunk
timestamp: Wed 2010-12-15 13:32:21 +0700
message:
  Minor fixed in standard report pagination.
modified:
  dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/reportviewer/action/GetAllReportsAction.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-reporting/src/main/java/org/hisp/dhis/reporting/reportviewer/action/GetAllReportsAction.java'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/reportviewer/action/GetAllReportsAction.java	2010-12-13 14:58:04 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/reportviewer/action/GetAllReportsAction.java	2010-12-15 06:32:21 +0000
@@ -172,7 +172,7 @@
 
         for ( Report each : reports )
         {
-            if ( each.getName().contains( key ) )
+            if ( each.getName().toLowerCase().contains( key.toLowerCase() ) )
             {
                 result.add( each );
             }