Skip to content

Releases: Amadeco/magento2-smile-custom-entity-layered-navigation

v1.1.6.3

13 Sep 15:52
eb48546

Choose a tag to compare

fix(view): layered navigation is hidden by view model

v1.1.6.2

05 Sep 05:42
443083e

Choose a tag to compare

fix(mistying): IsEntityFiltered class name error

v1.1.6.1

04 Sep 16:59
2272d30

Choose a tag to compare

fix(refactor): IsEntityFiltered to detect custom-entity filters via resolvers and request params

Summary

  • Retrieve catalog and custom-entity layers through their resolvers to avoid direct ObjectManager use
  • Inspect request parameters against the filter list instead of relying on an uninitialized layer state
  • Keep existing catalog-layer filter detection logic unchanged

Full Changelog: v1.1.6...v1.1.6.1

v1.1.6

01 Sep 19:14
199ec7e

Choose a tag to compare

feat: introduce a new view model to had conditional displaying wether the current entity is filtered

v.1.1.5.1

21 Jul 06:27
3e775db

Choose a tag to compare

fix(plugin): prevent undefined method error in MetaRobotsPlugin by adding instance check

Description:

  • Added a check in hasAppliedFilters() to ensure $resultPage is an instance of Magento\Framework\View\Result\Page before accessing layout methods. This resolves the critical error where getLayout() was called on incompatible result types like Forward.
  • Updated PHPDoc comments and code structure for better clarity and maintainability.
  • Ensured compatibility with Magento 2.4.8 and PHP 8.3 standards.

Release Notes:

  • Fixed bug causing fatal error on custom entity pages when controller result is a forward action (e.g., invalid routes or redirects).
  • Improved plugin reliability without impacting performance.

v1.1.5

26 Apr 16:43
9c0b075

Choose a tag to compare

fix(layered-nav): Fix MetaRobotsPlugin calling getLayout() on invalid result type

Description:

  • Resolved an error where MetaRobotsPlugin was calling getLayout() on result objects
    that don't implement this method. Added defensive checks to verify layout object
    exists before attempting to access blocks.

  • Error fixed: "Call to undefined method Magento\Framework\Controller\Result\Forward\Interceptor::getLayout()"

v1.1.4

24 Apr 07:53
878c2b2

Choose a tag to compare

fix: custom entity layered navigation indexing in scheduled mode

Description:

Removed conditional checks for scheduled mode that prevented indexing operations
from being executed. This ensures that:

  • Full reindexing works in both manual and scheduled modes
  • Partial reindexing works properly for entity updates
  • New filterable attributes now appear in layered navigation

The indexer now consistently performs indexing operations regardless of the mode,
allowing MVIEW to handle scheduling in scheduled mode.

v1.1.3

20 Apr 23:27
d82ba02

Choose a tag to compare

fix: full page error due to getIdentities function

v1.1.2

20 Apr 22:42
d972498

Choose a tag to compare

fix: error in defining validation classes for config fields

v1.1.1

18 Apr 18:27
44996fe

Choose a tag to compare

fix: remove debugging boolean value in ViewModel