Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vote status on discussions list is incorrect on search results #118

Open
rob006 opened this issue Jan 13, 2024 · 0 comments
Open

Vote status on discussions list is incorrect on search results #118

rob006 opened this issue Jan 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rob006
Copy link
Contributor

rob006 commented Jan 13, 2024

Bug Report

I have enabled alternative layout with vote control on discussions list. When I use search, some discussions are displayed as voted even if I never voted for them. It looks like this indicator shows whether post author voted for his own discussion, not me.

Reverting this change in src/AddPostData.php fixes this issue:

80e7499#diff-dfd8aa62538bb3adafcc3b59fccee0e1b49d578146f36ade585858d08ff63da6

Screenshots

Discussions list (2 discussion are marked as voted by me):

1e8d7c1e

When enter these discussions, indicator changes:
8be766ce c1ee97b0

@rob006 rob006 added the bug Something isn't working label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant