Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Bug fix for attribute linking in asset editor as mentioned in #43

Rich Turner4645485b05c3
diff --git a/manager/client/src/main/java/org/openremote/manager/client/assets/asset/AssetEditActivity.java b/manager/client/src/main/java/org/openremote/manager/client/assets/asset/AssetEditActivity.java
index 2ff36e450..7d2357831 100644
--- a/manager/client/src/main/java/org/openremote/manager/client/assets/asset/AssetEditActivity.java
+++ b/manager/client/src/main/java/org/openremote/manager/client/assets/asset/AssetEditActivity.java
@@ -357,7 +357,7 @@ public class AssetEditActivity
attributeFilter = ProtocolConfiguration::isProtocolConfiguration;
} else {
query = new AssetQuery()
- .select(new AssetQuery.Select(AssetQuery.Include.ONLY_ID_AND_NAME_AND_ATTRIBUTE_NAMES, true));
+ .select(new AssetQuery.Select(AssetQuery.Include.ONLY_ID_AND_NAME_AND_ATTRIBUTE_NAMES));
// Limit to assets that have the same realm as the asset being edited (if it has been assigned a realm
// otherwise the query will be automatically restricted to the logged in users realm)