mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-11 15:04:02 +09:00
Fix commit status in repo list (#28412)
Before:   `TestOrg/testactions` does have commit status, but won't display in `All` After:  Same to #26179.
This commit is contained in:
1 parent
5b2bbf1a1f
commit
0abb5633e3
2 files changed
+4
-2
No files matched your search
@@ -323,7 +323,9 @@ func GetLatestCommitStatusForPairs(ctx context.Context, repoIDsToLatestCommitSHA
|
||||
Select("max( id ) as id, repo_id").
|
||||
GroupBy("context_hash, repo_id").OrderBy("max( id ) desc")
|
||||
|
||||
sess = db.SetSessionPagination(sess, &listOptions)
|
||||
if !listOptions.IsListAll() {
|
||||
sess = db.SetSessionPagination(sess, &listOptions)
|
||||
}
|
||||
|
||||
err := sess.Find(&results)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user