Skip to content

2.10.22.3

Compare
Choose a tag to compare
@rbayet rbayet released this 19 Aug 08:32
· 74 commits to 2.10.x since this release
dc398c5

💻 Technical

  • [VirtualCategories] Option to force empty category if virtual category root disabled by @rbayet in #3286

A new setting, enabled by default, is available at Store Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration > Force zero results for disabled categories.

image

When set to Yes, it will make sure that

  • any disabled category used as a "virtual category root" by a virtual category will lead to that virtual category not displaying any products
  • any disabled category used in a rule of the rules engine (whether in a virtual category or in an optimizer) will result in a clause not matching any products either
    • if that disabled category rule is in "If ALL of these conditions are TRUE" condition, it will make that condition fail
    • if that disabled category rule is in "If ANY of these conditions are TRUE" condition, it will be as this that category rule was not in the condition

While it was at some point planned to hardcode that new (in our eyes) correct behaviour, we introduced the setting Store Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration > Force zero results for disabled categories so you can decide to go back how things were by switching the setting to No.

🐛 Fixes

  • [Core] Prevent type error on php8 if attribut label is a phrase object by @PierreGauthier in #3338
  • [Indices] Avoid warning when filtering on index alias by @rbayet in #3348

🔧 CI/CD

  • [Tools] Speed chmods in CI workflows by @rbayet in #3344
  • [Tools] CI: prevent composer cache cross-versions contamination by @rbayet in #3349

Full Changelog: 2.10.22.2...2.10.22.3