Add search filter

System Information
  • Strapi Version: 3.2.5
  • Operating System: Mac OS
  • Database: pg
  • Node Version: v12.18.4
  • NPM Version: 6.14.6
  • Yarn Version: 1.13.0

Hey everyone, I’m building my first strapi blog, and I’m tying to add a search filter to search through all my data and have the result based on 2 key argument (brand_name and model_name)

Capture d’écran 2020-11-21 à 17.59.48

I’m having a little trouble because I don’t really know what to do

I read the strapi documentation carefully and I came across this

https://strapi.io/documentation/v3.x/concepts/queries.html#api-reference

Do I need to use this code in order to do my search filter ?


What type of search are you needing to do? This doc should provide some more info on filtering with GraphQL: https://strapi.io/documentation/v3.x/plugins/graphql.html#filters