QUALITY PATCH

MDVA-36833-V2: Search results showing random numbers of products per page…

Search results showing random numbers of products per page after excluding some products from shared catalog. Quality patch MDVA-36833-V2 for magento/module-indexer applies to Magento Open Source and Adobe Commerce 2.4.2 to 2.4.3-p3.

Categories
B2B, Catalog/Product
Components
magento/module-indexer, magento/module-shared-catalog
Origin
adobe-commerce-support

No Adobe documentation page exists for this patch.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply MDVA-36833-V2. On Cloud, add MDVA-36833-V2 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its MDVA-36833-V2/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (1): magento/module-indexer
Packages across compatible versions (2): magento/module-indexer, magento/module-shared-catalog

magento/magento2-base >=2.4.2 <2.4.3

Magento Open Source
2.4.2-p2, 2.4.2-p1, 2.4.2
Adobe Commerce
2.4.2-p2, 2.4.2-p1, 2.4.2
Patch file
patches/os/MDVA-36833_2.4.2_v2.patch
  • vendor/magento/module-indexer/Model/Indexer/CacheCleaner.php
  • vendor/magento/module-indexer/Model/Indexer/DeferCacheCleaning.php (added)
  • vendor/magento/module-indexer/Model/Indexer/DeferredCacheCleaner.php (added)
  • vendor/magento/module-indexer/Model/Indexer/DeferredCacheContext.php (added)
  • vendor/magento/module-indexer/Model/Indexer/DependencyDecorator.php
  • vendor/magento/module-indexer/Model/Processor/CleanCache.php
  • vendor/magento/module-indexer/etc/di.xml

magento/magento2-b2b-base >=1.3.1 <1.3.3

Magento Open Source
—
Adobe Commerce
2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3, 2.4.2-p2, 2.4.2-p1, 2.4.2
Patch file
patches/commerce/MDVA-36833_1.3.1.patch
  • vendor/magento/module-shared-catalog/etc/frontend/di.xml

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.