dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18259
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7631: Dataset editor management - Fixed show column headers as shortname
------------------------------------------------------------
revno: 7631
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-07-18 13:44:21 +0700
message:
Dataset editor management - Fixed show column headers as shortname
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/ShowedAssociationsEditorAction.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-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/ShowedAssociationsEditorAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/ShowedAssociationsEditorAction.java 2012-01-25 17:11:43 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/editor/ShowedAssociationsEditorAction.java 2012-07-18 06:44:21 +0000
@@ -1,7 +1,7 @@
package org.hisp.dhis.dataset.action.editor;
/*
- * Copyright (c) 2004-2011, University of Oslo
+ * Copyright (c) 2004-2012, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -166,7 +166,7 @@
for ( DataSet dataSet : dataSets )
{
- grid.addHeader( new GridHeader( dataSet.getShortName(), dataSet.getId() + "", dataSet.getName(), false,
+ grid.addHeader( new GridHeader( dataSet.getDisplayShortName(), dataSet.getId() + "", dataSet.getDisplayName(), false,
false ) );
}
@@ -174,7 +174,7 @@
{
assignedDataSets = new HashSet<DataSet>( child.getDataSets() );
- grid.addRow().addValue( new MetaValue( child.getId(), child.getName() ) );
+ grid.addRow().addValue( new MetaValue( child.getId(), child.getDisplayName() ) );
for ( DataSet dataSet : dataSets )
{