Error when reviews are not sorted following date

Created by Support Agent, Modified on Sun, 19 Apr at 11:16 PM by Support Agent

Issue:


I have purchased your Magento 2 Advanced Review version 1.0.3 and installed on Magento 2.2.6, and recently I have got the issue that the reviews are displayed in order of old one to the new one in default (without switching the sort dropdown menu or the arrow)

 


And as well as the arrow above is not working in the first click. In order to change the order of review (ASC, DESC), first we need to update the dropdown menu, then the arrow function (ASC, DESC) works.


Could you please look into it and suggest me how to fix this?  

We would like to display the newest review in top and old one to the button in default




Solution:


Our developer has checked and found that this is caused due to our module's bug.

Thus, we have hot-fixed this issue on our local site and would like to send you the fixed file attachment below.

We have edited this file: app/code/Bss/AdvancedReview/Model/ResourceModel/Review/Collection.php

Could you please replace this file and run the command upgrade and deploy it on your site?

Please check and feel free to let us know if the issue still happens.


If you need any further assistance, please feel free to contact us via email sales@bsscommerce.com 


Learn more about us!!


BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.


Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.


Discover our extensions: https://bsscommerce.com/magento-2-extensions.html 


You can refer our top tier extensions:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article