Merge pull request #6009 from bielu/v8/dev

V8: Value Set builder shouldn't stop indexing when one field is empty in …
This commit is contained in:
Shannon Deminick
2019-07-29 11:36:01 +10:00
committed by GitHub

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