mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Updated and created were appended with _unix. Fresh databases have only the newly named fields.
This commit is contained in:
		| @@ -310,7 +310,7 @@ func GetCommentByID(id int64) (*Comment, error) { | ||||
| // GetCommentsByIssueID returns all comments of issue by given ID. | ||||
| func GetCommentsByIssueID(issueID int64) ([]*Comment, error) { | ||||
| 	comments := make([]*Comment, 0, 10) | ||||
| 	return comments, x.Where("issue_id=?", issueID).Asc("created").Find(&comments) | ||||
| 	return comments, x.Where("issue_id=?", issueID).Asc("created_unix").Find(&comments) | ||||
| } | ||||
|  | ||||
| // UpdateComment updates information of comment. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user