Description
When searching through entries with twig query
{% set searchQuery = craft.app.request.getParam('q') %}
{% set result = craft.entries().section("sectionhandle").search(searchQuery).orderBy("score").all() %}
the result is no longer finding content of fields when nested in a Supertable. Normal matrix works fine.
this worked before at Craft version 3.4.25 and Supertable 2.5.1 (old version with postgres db)
with the new versions of craft and supertable it finds nothing, sadly.
i already tried to rebuild search index with php craft resave/entries --update-search-index didnt help
Steps to reproduce
- Put a supertable field inside a Matrix block
- put a matrix field inside the supertable
- put a texteditor (redactor) inside the nested matrix
- create entry with that matrix and add richt text into the editor field
- create search field like the documentation (https://craftcms.com/docs/3.x/dev/examples/search-form.html)
- search a word in content, result will be null
Additional info
- Plugin version: supertable 2.6.2, redactor 2.7.3
- Craft version: 3.5.7
- Multi-site: No
- Database: MySQL 5.7
Description
When searching through entries with twig query
{% set searchQuery = craft.app.request.getParam('q') %} {% set result = craft.entries().section("sectionhandle").search(searchQuery).orderBy("score").all() %}the result is no longer finding content of fields when nested in a Supertable. Normal matrix works fine.
this worked before at Craft version 3.4.25 and Supertable 2.5.1 (old version with postgres db)
with the new versions of craft and supertable it finds nothing, sadly.
i already tried to rebuild search index with
php craft resave/entries --update-search-indexdidnt helpSteps to reproduce
Additional info