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
#pragma warning disable CA1308// Normalize strings to uppercase
filter+=$" AND (STARTSWITH(deviceId, '{searchText.ToLowerInvariant()}') OR (is_defined(tags.deviceName) AND STARTSWITH(tags.deviceName, '{searchText}')))";
#pragma warning restore CA1308// Normalize strings to uppercase
The text was updated successfully, but these errors were encountered:
Expected Behavior
When using the search form to filter the device list, searching by name/ID should be case-insensitive.
Current Behavior
Searching "device" doesn't allow us to retrieve our mock device called "Device 1"
Additional Information
There's also a pragma warning in the code asking to normalize the filtering:
IoT-Hub-Portal/src/AzureIoTHub.Portal/Server/Services/DeviceService.cs
Lines 59 to 61 in 5541bb3
The text was updated successfully, but these errors were encountered: