Skip to content

Update ProductCommentRepository.php#227

Open
metineren wants to merge 1 commit into
PrestaShop:devfrom
metineren:patch-1
Open

Update ProductCommentRepository.php#227
metineren wants to merge 1 commit into
PrestaShop:devfrom
metineren:patch-1

Conversation

@metineren
Copy link
Copy Markdown

Fixes #226 issue
$productIds parameter array causes an error because it is not sorted.

Questions Answers
Description? $productIds parameter array causes an error because it is not sorted.
Type? bug fix
BC breaks? yes
Deprecations? no
Fixed ticket? Fixes #226.
How to test? Once add a comment to a product and approve from backoffice, after turn to front office a product listing page, inspect on chrome, show network tab, filter Fetch/XHR, find /prestashop/module/productcomments/CommentGrade request and see error.
Sponsor company Metin EREN.

Fixes PrestaShop#226 issue

$productIds parameter array causes an error because it is not sorted.
@ps-jarvis
Copy link
Copy Markdown

Hello @metineren!

This is your first pull request on productcomments repository of the PrestaShop project.

Thank you, and welcome to this Open Source community!

@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

incorrect algorithm for creating database queries in ProductCommentRepository class

2 participants