Skip to content

Magento 2.4.8-p3 : Cannot switch a dropdown attribute to is_filterable_in_search = 1 (if is_searchable = 0 ?) #3743

@rbayet

Description

@rbayet

On a Magento 2.4.8-p3 Enterprise with the sample data, it seems it is not possible anymore to switch a dropdown attribute (activity, style_bags) to being is_filterable_in_search = 1.

Preconditions

Magento Version : 2.4.8-p3 Enterprise + base Hÿva modules + Sample data

ElasticSuite Version : 2.11.16

Environment : Developer

Third party modules :
Base Hÿva modules :

hyva-themes/magento2-compat-module-fallback                       1.1.3           Allow templates to be overridden by Hyvä Themes compatibility modules without layout XML.
hyva-themes/magento2-default-theme                                1.3.20          Default Hyvä Theme
hyva-themes/magento2-email-module                                 1.0.5           Hyva Themes email module
hyva-themes/magento2-graphql-tokens                               1.0.4           Adds Customer and Cart tokens to CustomerData sections
hyva-themes/magento2-graphql-view-model                           1.0.5           Provide ability to customize GraphQL queries and mutations for Hyvä themes.
hyva-themes/magento2-mollie-theme-bundle                          1.0.2           Hyva Themes Mollie companion module
hyva-themes/magento2-order-cancellation-webapi                    1.0.0           REST API for magento/module-order-cancellation.
hyva-themes/magento2-reset-theme                                  1.1.10          A theme that unsets all Magento 2 layout blocks. A real _blank_ theme.
hyva-themes/magento2-smile-elasticsuite                           1.2.7           Hyva_SmileElasticsuite makes Smile_Elasticsuite compatible with Hyvä Themes
hyva-themes/magento2-theme-module                                 1.3.20          Hyva Themes companion module
mollie/magento2-hyva-compatibility                                2.4.1           Hyvä Themes Compatibility module for Mollie Payments

installed with

  • composer require --ignore-platform-reqs hyva-themes/magento2-smile-elasticsuite ~1.2
  • composer require --ignore-platform-reqs hyva-themes/magento2-default-theme

Steps to reproduce

  1. Install a fresh Magento 2.4.8-p3 Enterprise
  2. Install the sample data
  3. Install the Hÿva modules
  4. Reindex everything
  5. In Magento admin, edit the "activity" attribute which is only filterable in catalog (Use in Layered Navigation = Yes), switch "Use in Search Results Layered Navigation" from No to Yes, save the form

Expected result

  1. After the page refreshes, "Use in Search Results Layered Navigation" is set to "Yes"

Actual result

  1. "Use in Search Results Layered Navigation" is set to "No"
  2. If you switch the attribute from "Use in Search" = No to "Use in Search" = Yes AND "Use in Search Results Layered Navigation" back to Yes and you save
  3. THEN after the page refreshes, "Use in Search Results Layered Navigation" = Yes as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions