Graphql Query Articles by blog_title

I’m trying to build a query for searching through articles based on the title but it doesn’t seems to work ?!

I have an article with the following title Optimizing your sleep

All in the query is correct except for the blog_title . Doesn’t seems to work.
If I change the blog_title to author the query responds with correct data.

query Blog {
  blog(handle : "News") {
  	articles(first:100, query:"blog_title:'sleep'") {
     pageInfo {
      hasNextPage
    }
     nodes {
        title
      	handle
      }
    }
  }
}

Hey @Sergiu222 ,

The blog_title filter is for the blog title (News) not the article title (Optimizing your sleep). Currently there’s no way to filter by article title.

1 Like