mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-16 06:46:16 +01:00
060026995a
Backport #26179 by @CaiCandong In the original implementation, we can only get the first 30 records of the commit status (the default paging size), if the commit status is more than 30, it will lead to the bug #25990. I made the following two changes. - On the page, use the ` db.ListOptions{ListAll: true}` parameter instead of `db.ListOptions{}` - The `GetLatestCommitStatus` function makes a determination as to whether or not a pager is being used. fixed #25990 Co-authored-by: caicandong <50507092+CaiCandong@users.noreply.github.com> |
||
---|---|---|
.. | ||
branches.go | ||
branches_test.go | ||
commit_status.go | ||
commit_status_test.go | ||
lfs.go | ||
lfs_lock.go | ||
main_test.go | ||
protected_banch_list_test.go | ||
protected_branch.go | ||
protected_branch_list.go | ||
protected_branch_test.go | ||
protected_tag.go | ||
protected_tag_test.go |