Hussain Sakariya
02/12/2024, 6:20 AM{
"options_ts7": [
{
"name": "colour",
"values": [
"Black",
"White"
]
}
]
}when i am using "facet_by": "options_ts7.values" search_params it will give following output
[
{
"count": 1,
"highlighted": "Black",
"value": "Black"
},
{
"count": 1,
"highlighted": "White",
"value": "White"
},
]but I want to add an extra field name in this facet_count response like the following.
[
{
"count": 1,
"highlighted": "Black",
"value": "Black",
"name": "colour"
},
{
"count": 1,
"highlighted": "White",
"value": "White",
"name": "colour"
},
]so how can I do this