Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented Apr 9, 2025

Earlier on in the migration, the update of the user directory query was erroneously switched to use post creation date instead of the date the post was solved.

This PR fixes that.

period_type: DirectoryItem.period_types[:all],
period_type: DirectoryItem.period_types[:daily],
).solutions,
).to eq(1)
Copy link
Contributor Author

@nattsw nattsw Apr 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test would otherwise fail now because the post was not created today, and should use solved date instead of post date.

@nattsw nattsw merged commit 539938b into main Apr 9, 2025
6 checks passed
@nattsw nattsw deleted the user-directory branch April 9, 2025 06:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants