[PR #3855] [MERGED] Fix only updated_unix when adding a comment #17107

Closed
opened 2025-11-02 12:26:28 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3855
Author: @kolaente
Created: 4/27/2018
Status: Merged
Merged: 4/29/2018
Merged by: @lunny

Base: masterHead: fix-only-update_unix-in-comments


📝 Commits (2)

  • 403f268 Fix only updated_unix when adding a comment
  • 3751e41 Merge branch 'master' into fix-only-update_unix-in-comments

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 models/issue_comment.go (+1 -1)

📄 Description

This pr fixes updating of the created_unix column of an issue when adding a comment.

While working on #3794, I discovered this destroyed my routine to update an issue deadline as it updated everything (not only created_unix), which lead to setting the deadline to the old deadline right after updating it to the new one.

Previous pr which added this behavior was #2204.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3855 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 4/27/2018 **Status:** ✅ Merged **Merged:** 4/29/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix-only-update_unix-in-comments` --- ### 📝 Commits (2) - [`403f268`](https://github.com/go-gitea/gitea/commit/403f2683c610a258d8d6f79967d807816a01ea72) Fix only updated_unix when adding a comment - [`3751e41`](https://github.com/go-gitea/gitea/commit/3751e411ef818c56e052065c1531554c21bdcb6f) Merge branch 'master' into fix-only-update_unix-in-comments ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/issue_comment.go` (+1 -1) </details> ### 📄 Description This pr fixes updating of the `created_unix` column of an issue when adding a comment. While working on #3794, I discovered this destroyed my routine to update an issue deadline as it updated everything (not only `created_unix`), which lead to setting the deadline to the old deadline right after updating it to the new one. Previous pr which added this behavior was #2204. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:26:28 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17107