dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #34208
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17561: Chart sorting, minor
------------------------------------------------------------
revno: 17561
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-11-21 11:22:56 +0100
message:
Chart sorting, minor
modified:
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.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-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java 2014-11-10 20:29:29 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java 2014-11-21 10:22:56 +0000
@@ -894,7 +894,7 @@
{
NameableObject series = chart.series().get( 0 );
- int sortOrder = chart.getSortOrder() * -1;
+ int sortOrder = chart.getSortOrder();
List<NumericSortWrapper<NameableObject>> list = new ArrayList<>();