Skip to content

Commit

Permalink
PT-13052: make field minVariationPrice collection and retrievable (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev authored Aug 17, 2023
1 parent cb099ce commit fffc9a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private static void AddDecimalCollection(IndexDocument document, string name, de
private static void AddMinVariationPrice(IndexDocument document, List<object> value = null)
{
value ??= new List<object> { new IndexedPrice { Currency = SchemaStringValue } };
document.Add(new IndexDocumentField("__minVariationPrice", value, IndexDocumentFieldValueType.Complex) { IsRetrievable = false, IsFilterable = false, IsCollection = false });
document.Add(new IndexDocumentField("__minVariationPrice", value, IndexDocumentFieldValueType.Complex) { IsRetrievable = true, IsFilterable = false, IsCollection = true });
}
}
}

0 comments on commit fffc9a3

Please sign in to comment.