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 use of NOW() when getting tagged posts #785

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

blujan
Copy link
Contributor

@blujan blujan commented Oct 7, 2023

Quick fix to address the issue in #783 - changes the query in the function that selects tagged posts to use the helper db.now() to correctly format for either SQL or sqlite.

I did A/B testing (exact same config, only different binaries) of the build with the fix compared the 0.14.0 release to confirm that this completely addresses the issue.


  • I have signed the CLA

Copy link
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

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

Thanks for submitting a fix! This works great. Merging now.

@thebaer thebaer added this to the 0.15 milestone Oct 11, 2023
@thebaer thebaer linked an issue Oct 11, 2023 that may be closed by this pull request
@thebaer thebaer merged commit 3870749 into writefreely:develop Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Server error when accessing tags page
2 participants