------------------------------------------------------------
revno: 16401
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Wed 2014-08-13 20:25:19 +0700
message:
  minor change, use sorted schemas in /api/schemas
modified:
  
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/SchemaController.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/SchemaController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/SchemaController.java	2014-06-11 20:01:15 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/SchemaController.java	2014-08-13 13:25:19 +0000
@@ -52,7 +52,7 @@
     @RequestMapping
     public @ResponseBody Schemas getSchemas()
     {
-        return new Schemas( schemaService.getSchemas() );
+        return new Schemas( schemaService.getSortedSchemas() );
     }
 
     @RequestMapping( value = "/{type}" )

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to