Error when reviews are not sorted following date

Created by Rosa Truong, Modified on Thu, 24 Oct, 2019 at 2:45 PM by Rosa Truong

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 [email protected] 



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