dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41654
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21236: minor param change, tei => te in audit controller for TEAVA
------------------------------------------------------------
revno: 21236
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-11-30 11:40:10 +0700
message:
minor param change, tei => te in audit controller for TEAVA
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AuditController.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-api/src/main/java/org/hisp/dhis/webapi/controller/AuditController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AuditController.java 2015-11-30 03:21:59 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AuditController.java 2015-11-30 04:40:10 +0000
@@ -132,12 +132,12 @@
@RequestMapping( value = "trackedEntityAttributeValue", method = RequestMethod.GET )
public @ResponseBody RootNode getTrackedEntityAttributeValueAudit(
@RequestParam( required = false, defaultValue = "" ) List<String> tea,
- @RequestParam( required = false, defaultValue = "" ) List<String> tei,
+ @RequestParam( required = false, defaultValue = "" ) List<String> te,
@RequestParam( required = false ) AuditType auditType
) throws WebMessageException
{
List<TrackedEntityAttribute> trackedEntityAttributes = getTrackedEntityAttributes( tea );
- List<org.hisp.dhis.trackedentity.TrackedEntityInstance> trackedEntityInstances = getTrackedEntityInstances( tei );
+ List<org.hisp.dhis.trackedentity.TrackedEntityInstance> trackedEntityInstances = getTrackedEntityInstances( te );
List<TrackedEntityAttributeValueAudit> attributeValueAudits = trackedEntityAttributeValueAuditService.getTrackedEntityAttributeValueAudits(
trackedEntityAttributes, trackedEntityInstances, auditType );