how to filter in dynamic zone in strapi using graphql?
Jackson Kasi
1 min read
hello, dev's. i need help in strapi. if any one know please help me! thanks ๐
query GetPosts($datelte: Date!, $dategte: Date!, $searchkey: String) {
posts(filters: { effectiveDate: { lte: $datelte, gte: $dategte } }) {
data {
attributes {
effectiveDate
contentSections {
... on ComponentElementsEvents {
title
}
}
}
}
}
}
here how can I add a search filter by searchkey for the title?
title it's inside a dynamic zone.
0
Subscribe to my newsletter
Read articles from Jackson Kasi directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Jackson Kasi
Jackson Kasi
a simple man