Value Set builder shouldn't stop indexing when one field is empty in value sets

This commit is contained in:
Shannon
2019-07-29 15:38:08 +10:00
parent efd6bd82bd
commit 41093e5b8b

View File

@@ -45,7 +45,7 @@ namespace Umbraco.Examine
continue;
case string strVal:
{
if (strVal.IsNullOrWhiteSpace()) return;
if (strVal.IsNullOrWhiteSpace()) continue;
var key = $"{keyVal.Key}{cultureSuffix}";
if (values.TryGetValue(key, out var v))
values[key] = new List<object>(v) { val }.ToArray();