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

This commit is contained in:
arkadiuszbiel
2019-07-27 20:41:15 +01:00
parent fca74ad8d7
commit 4a24064783

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();