Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entries with table inside matrix field not showing in search results #6048

Closed
webrgp opened this issue May 11, 2020 · 1 comment
Closed

Entries with table inside matrix field not showing in search results #6048

webrgp opened this issue May 11, 2020 · 1 comment

Comments

@webrgp
Copy link

webrgp commented May 11, 2020

Description

Can't retrieve entries when searching for entries using .search(searchQuery) for a keyword that exists in a table field inside a matrix field in an entry.

Steps to reproduce

I have a channel with a "Content Blocks" Matrix Field. It has a block type "Section List" with 2 fields:

  • Heading (Plain Text)
  • List (Table): the table has one column "Item" (single line text)

The query I am using:

{% set searchQuery = craft.app.request.getParam('q') %}
{% set allEntries = craft.entries()
    .search(searchQuery)
    .orderBy('score')
    .all() %}

Additional info

  • Craft version: 3.4.18
  • PHP version: 7.4.4
  • Database driver & version: MySQL 8.0.18
@webrgp
Copy link
Author

webrgp commented May 11, 2020

Oops, it seems that was a caching issue (not a bug, but misconfigured). Please Disregard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant