dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20744
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9628: Minor fix.
------------------------------------------------------------
revno: 9628
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-01-28 13:35:55 +0700
message:
Minor fix.
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/caseaggregation/DefaultCaseAggregationConditionService.java
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramInstanceService.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-services/dhis-service-patient/src/main/java/org/hisp/dhis/caseaggregation/DefaultCaseAggregationConditionService.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/caseaggregation/DefaultCaseAggregationConditionService.java 2013-01-23 10:27:28 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/caseaggregation/DefaultCaseAggregationConditionService.java 2013-01-28 06:35:55 +0000
@@ -375,7 +375,7 @@
}
matcher.appendReplacement( description, "[" + OBJECT_PATIENT_ATTRIBUTE + SEPARATOR_OBJECT
- + patientAttribute.getName() + "]" );
+ + patientAttribute.getDisplayName() + "]" );
}
else if ( info[0].equalsIgnoreCase( OBJECT_PROGRAM ) )
{
=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramInstanceService.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramInstanceService.java 2012-10-09 05:48:10 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramInstanceService.java 2013-01-28 06:35:55 +0000
@@ -240,7 +240,7 @@
for ( PatientAttribute patientAttribute : patientAttributes )
{
attrGrid.addRow();
- attrGrid.addValue( patientAttribute.getName() );
+ attrGrid.addValue( patientAttribute.getDisplayName() );
PatientAttributeValue attributeValue = patientAttributeValueService.getPatientAttributeValue( patient,
patientAttribute );
String value = "";