Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to filter blog articles by theirs content

How to filter blog articles by theirs content

lujbek
Tourist
10 0 1

Hi
I'm using Storefront API GraphQL to filter blog articles.

 

Below is an code snippet, I'm using query directive to filter articles by title and tag. 

lujbek_0-1704726811867.png

lujbek_1-1704727167666.png

 

The question is how can I filter blog articles by their content as well. 
E.g. Suppose that I have an article with title is "Title ABC" and its content is: "Article content". When I perform search with term = "content" it will return this item. If term = "ABC" it also returns this one as well

 

Noted: I've referred the documentation https://shopify.dev/docs/api/storefront/2024-01/objects/Blog, it looks like Shopify does not support filter by content.

 

I'm looking forward to hear your response soon

 

Thanks

Replies 0 (0)