dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03938
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1309: Fix bug: Can not show the list of Group Reports when click to choose one orgunit.
------------------------------------------------------------
revno: 1309
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-01-18 11:33:00 +0700
message:
Fix bug: Can not show the list of Group Reports when click to choose one orgunit.
modified:
dhis-2/dhis-web/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/export/action/SelectFormAction.java
dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/excelitems.vm
--
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-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/export/action/SelectFormAction.java'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/export/action/SelectFormAction.java 2009-12-09 08:57:51 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/reportexcel/export/action/SelectFormAction.java 2010-01-18 04:33:00 +0000
@@ -121,6 +121,8 @@
{
organisationUnit = organisationUnitSelectionManager.getSelectedOrganisationUnit();
+ groups = new ArrayList<String>( reportService.getReportExcelGroups() );
+
if ( organisationUnit == null )
{
return SUCCESS;
@@ -130,8 +132,6 @@
periods = periodDatabaseService.getPeriodList();
- groups = new ArrayList<String>( reportService.getReportExcelGroups() );
-
Collections.sort( groups );
return SUCCESS;
=== modified file 'dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/excelitems.vm'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/excelitems.vm 2010-01-18 03:21:24 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/excelitems.vm 2010-01-18 04:33:00 +0000
@@ -3,7 +3,7 @@
<table width="100%">
<tr>
<td>
- $i18n.getString( "filter_by_name" ): <input type="text" onkeyup="filterValues( this.value , 1)" style="width:300px"/>
+ $i18n.getString( "filter_by_name" ): <input type="text" onkeyup="filterValues( this.value , 2)" style="width:300px"/>
</td>
<td align="right">
<input type="button" onclick="mode='add'; openAddExcelItem()" value="$i18n.getString('add')" style="width:150px"/> <br>