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

Change sorting for topics #177

Merged
merged 2 commits into from Feb 6, 2018
Merged

Change sorting for topics #177

merged 2 commits into from Feb 6, 2018

Conversation

ghost
Copy link

@ghost ghost commented Feb 6, 2018

This has the effect that topics with new replies get bumped to the top.

@HDVinnie
Copy link
Collaborator

HDVinnie commented Feb 6, 2018

This is no good because the updated_at column changes when the topic is viewed and view count gets updated. So it won't work for topics with new comments as your thinking.

@ghost
Copy link
Author

ghost commented Feb 6, 2018

Fixed

@HDVinnie
Copy link
Collaborator

HDVinnie commented Feb 6, 2018

shouldn't you also be setting the new last_reply_at in the newTopic function?

@ghost
Copy link
Author

ghost commented Feb 6, 2018

OK, updated it again.

@HDVinnie HDVinnie merged commit f9b962b into HDInnovations:master Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant