dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11450
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3268: Minor fix
------------------------------------------------------------
revno: 3268
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2011-04-03 13:02:16 +0200
message:
Minor fix
modified:
dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/Section.hbm.xml
dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml
dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/inputReportParamsForm.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-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/Section.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/Section.hbm.xml 2010-11-25 14:58:42 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/Section.hbm.xml 2011-04-03 11:02:16 +0000
@@ -5,6 +5,9 @@
<hibernate-mapping>
<class name="org.hisp.dhis.dataset.Section" table="section">
+
+ <cache usage="read-write"/>
+
<id name="id" column="sectionid">
<generator class="native"/>
</id>
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml 2011-04-03 10:25:42 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/ehcache.xml 2011-04-03 11:02:16 +0000
@@ -68,6 +68,10 @@
maxElementsInMemory="100"
/>
+ <cache name="org.hisp.dhis.dataset.Section"
+ maxElementsInMemory="400"
+ />
+
<cache name="org.hisp.dhis.source.Source"
maxElementsInMemory="10000"
/>
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/inputReportParamsForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/inputReportParamsForm.vm 2011-04-03 10:25:42 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/inputReportParamsForm.vm 2011-04-03 11:02:16 +0000
@@ -69,7 +69,7 @@
<script type="text/javascript">
selectionTreeSelection.setMultipleSelectionAllowed( false );
selectionTreeSelection.setListenerFunction( paramOrganisationUnitSet );
- //selectionTree.clearSelectedOrganisationUnits();
+ selectionTree.clearSelectedOrganisationUnits();
selectionTree.buildSelectionTree();
</script>
</td>