← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19407: Only display data elements with domain-type AGGREGATE in add/update data set

 

------------------------------------------------------------
revno: 19407
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-06-15 13:40:45 +0700
message:
  Only display data elements with domain-type AGGREGATE in add/update data set
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addDataSet.vm
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editDataSet.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-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addDataSet.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addDataSet.vm	2015-06-10 20:22:17 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/addDataSet.vm	2015-06-15 06:40:45 +0000
@@ -14,7 +14,7 @@
     checkValueIsExist("code", "validateDataSet.action");
 
     $('#deAvailable').selected({
-      url: '../api/dataElements.json',
+      url: '../api/dataElements.json?filter=domainType:eq:AGGREGATE',
       target: $('#deSelected'),
       search: $('#deAvailableSearch'),
       iterator: 'dataElements'

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editDataSet.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editDataSet.vm	2015-06-10 20:22:17 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/editDataSet.vm	2015-06-15 06:40:45 +0000
@@ -18,7 +18,7 @@
     });
 
     $('#deAvailable').selected({
-      url: '../api/dataElements.json',
+      url: '../api/dataElements.json?filter=domainType:eq:AGGREGATE',
       target: $('#deSelected'),
       search: $('#deAvailableSearch'),
       iterator: 'dataElements'