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

FIX: 'Most liked' incorrect results #667

Merged

Conversation

johnhenley
Copy link
Collaborator

@johnhenley johnhenley commented Feb 14, 2024

Description of PR...

Incorrect results on 'most liked' page. In the activeforums_Likes table, the column PostId is used to track likes. PostId needs to be JOINed to ContentId (not to TopicId) in activeforums_Content; also needs to reflect likes from replies.

Changes made

  • Updated activeforums_UI_MostLiked stored procedure

How did you test these updates?

Local install

Before:
image

After:
image

PR Template Checklist

  • Fixes Bug
  • Feature solution
  • Other
  • Requires documentation updates
  • I've updated the documentation already

Please mark which issue is solved

Close #666

@johnhenley johnhenley added the bug Something isn't working label Feb 14, 2024
@johnhenley johnhenley added this to the 08.01.00 milestone Feb 14, 2024
@johnhenley johnhenley self-assigned this Feb 14, 2024
@johnhenley johnhenley changed the title FIX: 'Most like' incorrect results FIX: 'Most liked' incorrect results Feb 14, 2024
@Timo-Breumelhof Timo-Breumelhof merged commit 9c25355 into DNNCommunity:dev Feb 21, 2024
1 check passed
@johnhenley johnhenley deleted the issues/incorrect-most-liked-666 branch February 21, 2024 15:59
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

Successfully merging this pull request may close these issues.

BUG: Incorrect results on 'Most Liked' page
2 participants