sinequa / sba-angular

Sinequa's Angular-based Search Based Application (SBA) Framework
https://sinequa.github.io/sba-angular/
MIT License
30 stars 25 forks source link

Components / Facet (fix): set value of aggregation item to value when present instead of display #107

Closed Guillaume-Developer closed 1 year ago

Guillaume-Developer commented 1 year ago

When transforming an Expr to an AggregationItem, in the case of a csv type item, now prioritizes the item.value instead of the item.display for the AggregationItem value. This is important in the case of entities where the normalized value is different from the displayed value.

ericleib commented 1 year ago

Thank you for reporting that. We have fixed exactly the same bug internally very recently and had not yet published it!