dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37292
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19091: Data sql view response, including description
------------------------------------------------------------
revno: 19091
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-05-05 10:34:06 +0200
message:
Data sql view response, including description
modified:
dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/sqlview/DefaultSqlViewService.java
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.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-administration/src/main/java/org/hisp/dhis/sqlview/DefaultSqlViewService.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/sqlview/DefaultSqlViewService.java 2015-03-10 11:36:58 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/sqlview/DefaultSqlViewService.java 2015-05-05 08:34:06 +0000
@@ -164,6 +164,7 @@
{
Grid grid = new ListGrid();
grid.setTitle( sqlView.getName() );
+ grid.setSubtitle( sqlView.getDescription() );
validateSqlView( sqlView, criteria, variables );
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.java 2015-05-04 10:04:37 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.java 2015-05-05 08:34:06 +0000
@@ -217,9 +217,9 @@
sql += getCommentQuery();
- sql += ") as cm on event.psi_id=cm.psic_id";
+ sql += ") as cm on event.psi_id=cm.psic_id ";
- sql += " order by psi_uid desc ";
+ sql += "order by psi_uid desc ";
return sql;
}