Replies: 1 comment 2 replies
-
This is expected; you can pass the That said, it ought to be easily possible to limit the results to only top-level section entries, without listing out each section. So I’ve just added support for passing {% set query = craft.entries()
.section('*')
.search(searchQuery)
.orderBy('score') %} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I do a search (craft.entries().search(searchQuery).orderBy('score')) the matrix blocks also appear among the search results. I would expect that by default the search would not also include these sections within Craft cms.
Beta Was this translation helpful? Give feedback.
All reactions