Hello, this is my Input > { > "options...
# community-help
h
Hello, this is my Input
{
"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