← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11315: give all results when doing sqlview export

 

------------------------------------------------------------
revno: 11315
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-07-03 09:46:26 +0700
message:
  give all results when doing sqlview export
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/java/org/hisp/dhis/dataadmin/action/sqlview/ExportSqlViewResultAction.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-dataadmin/src/main/java/org/hisp/dhis/dataadmin/action/sqlview/ExportSqlViewResultAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/java/org/hisp/dhis/dataadmin/action/sqlview/ExportSqlViewResultAction.java	2013-01-31 05:16:05 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/java/org/hisp/dhis/dataadmin/action/sqlview/ExportSqlViewResultAction.java	2013-07-03 02:46:26 +0000
@@ -34,7 +34,7 @@
 
 /**
  * Updates a existing sqlview in database.
- * 
+ *
  * @author Dang Duy Hieu
  * @version $Id ExportSqlViewResultAction.java July 12, 2010$
  */
@@ -77,7 +77,7 @@
     }
 
     private SqlView sqlView;
-    
+
     public SqlView getSqlView()
     {
         return sqlView;
@@ -102,12 +102,8 @@
     public String execute()
     {
         sqlView = sqlViewService.getSqlView( id );
-        
+
         grid = sqlViewService.getSqlViewGrid( sqlView, null );
-        
-        this.paging = this.createPaging( grid.getHeight() );
-
-        grid.limitGrid( paging.getStartPos(), paging.getEndPos() );
 
         return type != null ? type : DEFAULT_TYPE;
     }