dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27683
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13785: add back sortOrder in Attribute (xml/json)
------------------------------------------------------------
revno: 13785
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-01-20 19:02:43 +0700
message:
add back sortOrder in Attribute (xml/json)
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.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-api/src/main/java/org/hisp/dhis/attribute/Attribute.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.java 2014-01-19 05:14:19 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.java 2014-01-20 12:02:43 +0000
@@ -258,6 +258,9 @@
this.attributeValues = attributeValues;
}
+ @JsonProperty
+ @JsonView( { DetailedView.class, ExportView.class } )
+ @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public Integer getSortOrder()
{
return sortOrder;