Closed (fixed)
Project:
Like/Dislike
Version:
2.2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2022 at 08:28 UTC
Updated:
8 Aug 2023 at 13:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
omkar-pd commentedComment #3
omkar-pd commentedComment #4
larisse commentedHello! I wasted a lot of time to figure out that the problem was the field dislike is decremented.... For a reason that I don't know, the ajax is not able to rendered if the value is negative, but if you reload the page after click on dislike button, the value appear...
I created a patch to, instead of decrement the value, do equal like button and turn the value positive. I don't know why for dislike the value is decremented, so I think the maintainer can make it clear for us and see if this the better solution. But for a while, I think this patch can fix your problem.
Comment #5
tmaiochi commentedI'll review this!
Comment #6
tmaiochi commentedThe patch fixed the problem of not displaying the number when clicking the dislike button correctly. But as was said in comment #4, the maintainer can provide a better solution, for now I'm moving to RTBC
Comment #7
rajeshreeputraI like the approach in #4 to increment the dislike values.
Comment #8
heykarthikwithuThanks you all for working on this issue.
Done some major fixes around like & dislikes within 2.2.0 release,
Have a check if this issue still exist with 2.2.0 version?
Comment #9
snehal-chibde commentedComment #10
snehal-chibde commentedThis is working as expected in the 2.2.0 release.
Added screenshots for reference.
Comment #11
heykarthikwithuThank you all :)
Note: Use the latest version of the module & Please check for the module page for the features covered.