dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43450
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22032: minor, default to :owner for non-id objects
------------------------------------------------------------
revno: 22032
committer: Morten Olav Hansen <morten@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2016-02-24 11:32:46 +0700
message:
minor, default to :owner for non-id objects
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/fieldfilter/DefaultFieldFilterService.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-core/src/main/java/org/hisp/dhis/fieldfilter/DefaultFieldFilterService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/fieldfilter/DefaultFieldFilterService.java 2016-02-23 04:33:11 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/fieldfilter/DefaultFieldFilterService.java 2016-02-24 04:32:46 +0000
@@ -434,10 +434,14 @@
{
FieldMap fieldMap = new FieldMap();
+ /*
for ( String mapKey : schema.getPropertyMap().keySet() )
{
fieldMap.put( mapKey, new FieldMap() );
}
+ */
+
+ fieldMap.put( ":owner", new FieldMap() );
return fieldMap;
}