dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17428
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6931: Fixed bugs in CCEM - equipment
------------------------------------------------------------
revno: 6931
committer: Bharath <chbharathk@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-05-14 14:31:41 +0530
message:
Fixed bugs in CCEM - equipment
modified:
local/in/dhis-web-coldchain/src/main/java/org/hisp/dhis/coldchain/equipment/action/GetEquipmentInstanceListAction.java
local/in/dhis-web-coldchain/src/main/webapp/dhis-web-coldchain/selectEquipment.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 'local/in/dhis-web-coldchain/src/main/java/org/hisp/dhis/coldchain/equipment/action/GetEquipmentInstanceListAction.java'
--- local/in/dhis-web-coldchain/src/main/java/org/hisp/dhis/coldchain/equipment/action/GetEquipmentInstanceListAction.java 2012-05-05 11:16:25 +0000
+++ local/in/dhis-web-coldchain/src/main/java/org/hisp/dhis/coldchain/equipment/action/GetEquipmentInstanceListAction.java 2012-05-14 09:01:41 +0000
@@ -181,6 +181,8 @@
Iterator<InventoryTypeAttribute> iterator = inventoryTypeAttributeList.iterator();
while( iterator.hasNext() )
{
+ iterator.next();
+
if( count > 3 )
iterator.remove();
=== modified file 'local/in/dhis-web-coldchain/src/main/webapp/dhis-web-coldchain/selectEquipment.vm'
--- local/in/dhis-web-coldchain/src/main/webapp/dhis-web-coldchain/selectEquipment.vm 2012-05-05 11:16:25 +0000
+++ local/in/dhis-web-coldchain/src/main/webapp/dhis-web-coldchain/selectEquipment.vm 2012-05-14 09:01:41 +0000
@@ -1,5 +1,5 @@
-<input type="hidden" id='selectedOrgunitID' />
+<input type="hidden" id='selectedOrgunitID' value="$!organisationUnit.id" />
<div id='selectDiv'>