Skip to content

Commit

Permalink
Make CheckForDuplicateItems case insensitive
Browse files Browse the repository at this point in the history
Fixes #35693
  • Loading branch information
stan-sz authored Sep 25, 2023
1 parent c382c93 commit 02ff74c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected override void ExecuteCore()

if (DefaultItemsEnabled && DefaultItemsOfThisTypeEnabled)
{
var itemGroups = Items.GroupBy(i => i.ItemSpec);
var itemGroups = Items.GroupBy(i => i.ItemSpec, StringComparer.OrdinalIgnoreCare);

var duplicateItems = itemGroups.Where(g => g.Count() > 1).ToList();
if (duplicateItems.Any())
Expand Down

0 comments on commit 02ff74c

Please sign in to comment.