Skip to content

Commit b7843b1

Browse files
committed
2 parents 3229f8e + 7fa17a1 commit b7843b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Umbraco.Cms.Integrations.Search.Algolia/Builders/ContentRecordBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public ContentRecordBuilder BuildFromContent(IContent content, Func<IProperty, b
7676
}
7777
else
7878
{
79-
var indexValue = _algoliaSearchPropertyIndexValueFactory.GetValue(property, string.Empty);
79+
var indexValue = _algoliaSearchPropertyIndexValueFactory.GetValue(property, null);
8080
_record.Data.Add(indexValue.Key, indexValue.Value);
8181
}
8282

src/Umbraco.Cms.Integrations.Search.Algolia/Services/AlgoliaSearchPropertyIndexValueFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public virtual KeyValuePair<string, object> GetValue(IProperty property, string
2828
return default;
2929
}
3030

31-
var indexValues = propertyEditor.PropertyIndexValueFactory.GetIndexValues(property, culture, string.Empty, true);
31+
var indexValues = propertyEditor.PropertyIndexValueFactory.GetIndexValues(property, culture, null, true);
3232

3333
if (indexValues == null || !indexValues.Any()) return new KeyValuePair<string, object>(property.Alias, string.Empty);
3434

0 commit comments

Comments
 (0)