[PR #2835] [MERGED] Fix order of comments #16623

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2835
Author: @Morlinest
Created: 11/3/2017
Status: Merged
Merged: 11/3/2017
Merged by: @lunny

Base: masterHead: fix/issue-event-ordering


📝 Commits (1)

📊 Changes

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

View changed files

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

📄 Description

Simple change. If comments have same created_unix time, use id for ordering.

Before:
image

After:
chrome_2017-11-03_02-49-43


🔄 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/2835 **Author:** [@Morlinest](https://github.com/Morlinest) **Created:** 11/3/2017 **Status:** ✅ Merged **Merged:** 11/3/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/issue-event-ordering` --- ### 📝 Commits (1) - [`db83732`](https://github.com/go-gitea/gitea/commit/db8373298dc8c6db35870316083bbb363f8eb34d) Fix order of comments ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `models/issue_comment.go` (+1 -0) </details> ### 📄 Description Simple change. If comments have same `created_unix` time, use `id` for ordering. Before: ![image](https://user-images.githubusercontent.com/12720041/32358009-2e624f70-c042-11e7-9b97-4742b4040093.png) After: ![chrome_2017-11-03_02-49-43](https://user-images.githubusercontent.com/12720041/32358025-5c9e92cc-c042-11e7-93bd-f75438a6ebe3.png) --- <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:14:53 -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#16623