Browse Source
Merge pull request #12912 from dashevchenko/edqsEntityTitleFix
Fixed missed "title" entity field subscription
pull/12916/head
Viacheslav Klimov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/EntityFields.java
|
|
@ -148,6 +148,7 @@ public interface EntityFields { |
|
|
default String getAsString(String key) { |
|
|
default String getAsString(String key) { |
|
|
return switch (key) { |
|
|
return switch (key) { |
|
|
case "createdTime" -> Long.toString(getCreatedTime()); |
|
|
case "createdTime" -> Long.toString(getCreatedTime()); |
|
|
|
|
|
case "title" -> getName(); |
|
|
case "type" -> getType(); |
|
|
case "type" -> getType(); |
|
|
case "label" -> getLabel(); |
|
|
case "label" -> getLabel(); |
|
|
case "additionalInfo" -> getAdditionalInfo(); |
|
|
case "additionalInfo" -> getAdditionalInfo(); |
|
|
|