diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-24 18:19:35 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-24 18:19:35 -0700 |
commit | 5b174c67e5433a1ceceddc159ee6db6e229d5ba6 (patch) | |
tree | 8de42dbe03491f47945a1202104c2018804b2690 /src/main/java/org/traccar/reports | |
parent | ae4deabf310135c68e0eab0a47470cf2cdf616a3 (diff) | |
download | trackermap-server-5b174c67e5433a1ceceddc159ee6db6e229d5ba6.tar.gz trackermap-server-5b174c67e5433a1ceceddc159ee6db6e229d5ba6.tar.bz2 trackermap-server-5b174c67e5433a1ceceddc159ee6db6e229d5ba6.zip |
Geofences in events report (fix #4929)
Diffstat (limited to 'src/main/java/org/traccar/reports')
-rw-r--r-- | src/main/java/org/traccar/reports/common/ReportUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/reports/common/ReportUtils.java b/src/main/java/org/traccar/reports/common/ReportUtils.java index 253a6a2b6..7fff46f66 100644 --- a/src/main/java/org/traccar/reports/common/ReportUtils.java +++ b/src/main/java/org/traccar/reports/common/ReportUtils.java @@ -93,7 +93,7 @@ public class ReportUtils { public <T extends BaseModel> T getObject( long userId, Class<T> clazz, long objectId) throws StorageException, SecurityException { return storage.getObject(clazz, new Request( - new Columns.Include("id"), + new Columns.All(), new Condition.And( new Condition.Equals("id", "id", objectId), new Condition.Permission(User.class, userId, clazz)))); |