Skip to content

Commit

Permalink
Fix #1098 - In new device creation, search models that contain a text (
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand authored Aug 18, 2022
1 parent a98288a commit 2caf5f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
return DeviceModelList;

return DeviceModelList
.Where(x => x.Name.StartsWith(value, StringComparison.InvariantCultureIgnoreCase));
.Where(x => x.Name.Contains(value, StringComparison.InvariantCultureIgnoreCase));
}

private void SetSaveButtonText(DeviceSaveAction saveAction)
Expand Down

0 comments on commit 2caf5f7

Please sign in to comment.