Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
acoumb committed Mar 27, 2024
2 parents 3229f8e + 7fa17a1 commit b7843b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public ContentRecordBuilder BuildFromContent(IContent content, Func<IProperty, b
}
else
{
var indexValue = _algoliaSearchPropertyIndexValueFactory.GetValue(property, string.Empty);
var indexValue = _algoliaSearchPropertyIndexValueFactory.GetValue(property, null);
_record.Data.Add(indexValue.Key, indexValue.Value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public virtual KeyValuePair<string, object> GetValue(IProperty property, string
return default;
}

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

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

Expand Down

0 comments on commit b7843b1

Please sign in to comment.