meilisearch / meilisearch-vue

https://www.meilisearch.com/
MIT License
154 stars 13 forks source link

ais-refinement-list display data to the user #123

Open mohamedAbouda opened 1 year ago

mohamedAbouda commented 1 year ago

Description I'm using ais-refinement-list to show the facets but the problem here is that the keys are objects on meilisearch server for example key called brand is the object and has 2 keys display_name and slug I want to make meilisearch-vue show the display_name but when filter use the slug

Basic example <ais-refinement-list attribute="brand.slug" /> I want to show the brand name not the slug to the user

bidoubiwa commented 1 year ago

Hello @mohamedAbouda, what happens when you try attribute="brand.slug" ? Is there an error in the console? What are your filterableAttributes in Meilisearch? What is the version of instant-meilisearch and the version of Meilisearch ?

oluademola commented 1 year ago

Hello @mohamedAbouda. I am following up with you on your issue. Could you please provide some context and answers to the questions mentioned above? Your input will help us in resolving the issue. Thank you in advance 🙏