un-does the distinct check, in the past it was never like this, duplicate values were always allowed so by doing this it is a breaking change
This commit is contained in:
@@ -126,10 +126,6 @@ namespace Umbraco.Core.Services
|
||||
//now convert the collection to a string list
|
||||
var list = collection.FormatAsDictionary()
|
||||
.Select(x => x.Value.Value)
|
||||
//It is definitely possible to have duplicate values but previously people were probably not expecting that,
|
||||
// i.e. http://issues.umbraco.org/issue/U4-4880
|
||||
// besides, if we are just returning the values without their keys it should probably be the distinct values.
|
||||
.Distinct()
|
||||
.ToList();
|
||||
return list;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user