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

Rename Updated at field in tag information #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

honkling
Copy link
Contributor

The field Updated at implies that it should display the last time the tag content was updated, but instead this displays the last time the tag was interacted with at all (whether it be a use in community-help, tag content update, rename, etc.).

This occurs because Mongoose automatically increments the updatedAt field anytime the document is modified, which includes tag usage, since showing a tag increments the uses property.
I rename the field to make it not misleading.

The field `Updated at` implies that it should display the last time the tag content was updated, but instead this displays the last time the tag was interacted with at all (whether it be a use in community-help, tag content update, rename, etc.). This occurs because Mongoose automatically increments the `updatedAt` field anytime the document is modified, which includes tag usage, since showing a tag increments the `uses` property.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants