You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug occurs on searching devices and edge devices, when the device ID contains alpha characters : The backend sets the the device ID to lowercase when executing the search query.
filter+=$" AND (STARTSWITH(deviceId, '{searchText.ToLowerInvariant()}') OR (is_defined(tags.deviceName) AND STARTSWITH(tags.deviceName, '{searchText}')))";
filter+=$" AND (STARTSWITH(deviceId, '{searchText.ToLowerInvariant()}') OR (is_defined(tags.deviceName) AND STARTSWITH(tags.deviceName, '{searchText}')))";
Solution:
Replace deviceId, '{searchText.ToLowerInvariant()}' by deviceId, '{searchText}'
Expected Behavior
I should find my device by typing the ID of the device.
Current Behavior
It does not work when there is uppercase letter in the id.
The text was updated successfully, but these errors were encountered: