forked from mirror/codeberg-forgejo
c2f2fed57a
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> (cherry picked from commit 060026995a95a61a35535215105db015bab8a697) |
||
---|---|---|
.. | ||
clear_tasks.go | ||
commit_status.go | ||
init.go | ||
job_emitter.go | ||
job_emitter_test.go | ||
notifier.go | ||
notifier_helper.go |