Skip to content

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

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

26 Apr 16:43
9c0b075
Compare
Choose a tag to compare

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()"

fix: custom entity layered navigation indexing in scheduled mode

24 Apr 07:53
878c2b2
Compare
Choose a tag to compare

fix: custom entity layered navigation indexing in scheduled mode

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
Compare
Choose a tag to compare

fix: full page error due to getIdentities function

v1.1.2

20 Apr 22:42
d972498
Compare
Choose a tag to compare

fix: error in defining validation classes for config fields

v1.1.1

18 Apr 18:27
44996fe
Compare
Choose a tag to compare

fix: remove debugging boolean value in ViewModel

v1.1.0

18 Apr 16:05
Compare
Choose a tag to compare

feat: add dedicated config and display count toggle for Custom Entity layered navigation

This new version introduces several enhancements to the Custom Entity layered navigation module and fixes critical toolbar bugs.

Features

  • Add a dedicated "Custom Entity" section in Store Configuration with its own settings
  • Create a new "Layered Navigation" fieldset with "Display Product Count" toggle option
  • Implement a ViewModel pattern for layered navigation filter rendering
  • Update templates to conditionally display product counts in filters

Bug Fixes

  • Fix toolbar mode switching & order direction not being applied correctly
  • Resolve parameters mismatch between toolbar model and JavaScript widget
  • Fix JSON corruption in toolbar widget options
  • Correct the URL parameter handling for sorting and filtering
  • Fix inconsistent behavior in the getCurrentMode() method
  • Ensure proper collection sorting when applying toolbar parameters to SQL queries

Technical Changes

  • Refactor SetList helper to use Custom Entity-specific configuration values
  • Fix JavaScript initialization for entity list toolbar
  • Standardize parameter naming and handling across components

These changes improve the module's independence from Catalog configuration and provide better customization options for the layered navigation experience with Custom Entities.

v1.0.0

18 Apr 01:00
Compare
Choose a tag to compare
v1.0.0 Pre-release
Pre-release

Amadeco SmileCustomEntityLayeredNavigation for Magento 2 (Initial Release)

Initial release of Amadeco Smile Custom Entity Layered Navigation module for Magento 2.

Key Features

  • Layered navigation system for Smile Custom Entities that mirrors Magento 2's native filtering behavior
  • Support for multiple attribute types (select, multiselect, boolean) as filterable options
  • Custom indexer for optimized filtering performance
  • Automatic NOINDEX, FOLLOW meta tag for filtered pages
  • Configurable filter positions and display options
  • Full compatibility with Magento 2.4.x versions

Requirements: This module requires Smile CustomEntity and Smile ScopedEav modules.