Skip to content

Conversation

@ethantkoenig
Copy link
Member

Fixes #1938.

The Issue.UpdatedUnix column is set in the BeforeUpdate() method. However, that write had no effect on the updated_unix column when updateIssueCols(..) was called, unless "updated_unix" was explicitly listed as a column to update.

This PR:

  • fixes updateIssueCols(..) to always update updated_unix.
  • updates createComment() to update an issue's updated_unix column when a comment is added.
  • includes relevant unit tests

@andreynering
Copy link
Contributor

Trusted LGTM

@lafriks
Copy link
Member

lafriks commented Jul 23, 2017

LGTM

@lafriks lafriks added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Jul 23, 2017
@lafriks lafriks added this to the 1.2.0 milestone Jul 23, 2017
@lunny
Copy link
Member

lunny commented Jul 26, 2017

@ethantkoenig please force empty push

@lafriks
Copy link
Member

lafriks commented Jul 26, 2017

@ethantkoenig please resolve conflict

@ethantkoenig ethantkoenig force-pushed the fix/issue_updated_unix branch from 745e118 to 3c0f6d8 Compare July 26, 2017 15:05
@lunny
Copy link
Member

lunny commented Jul 27, 2017

make L-G-T-M work

@lunny lunny merged commit a27863b into go-gitea:master Jul 27, 2017
@ethantkoenig ethantkoenig deleted the fix/issue_updated_unix branch July 28, 2017 03:24
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug type/testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sorting by Recently updated/Least recently updated not working

4 participants