Skip to content

Price index limited to 100 product #37918

@jexamd

Description

@jexamd

Prerequisites

Describe the bug and add attachments

Price indexing loop only one time in indexPricesUnbreakable.
The second times (and next), we compare $cursor value which is the last productId indexed with the number of products to index ($nbProducts).

File : ps_facetedsearch method IndexPrice.

Expected behavior

Compare $cursor with productId and not product count

Steps to reproduce

Launch full index price with product id > 100 in the first loop/

PrestaShop version(s) where the bug happened

8.1.7

PHP version(s) where the bug happened

7.2

If your bug is related to a module, specify its name and its version

ps_facetedsearch 3.16.1

Your company or customer's name goes here (if applicable).

Hastone & Ten

Metadata

Metadata

Assignees

Labels

8.1.xBranchBOCategory: Back OfficeBugType: BugFaceted searchModule: ps_facetedsearchModuleModuleNMIStatus: issue needs more informationPR availableSolution: issue is being addressedWaiting for devStatus: action required, waiting for tech feedback

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions