1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/models/git
Giteabot 060026995a
Fix pull request check list is limited () ()
Backport  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 . 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 

Co-authored-by: caicandong <50507092+CaiCandong@users.noreply.github.com>
2023-07-31 08:56:46 +00:00
..
branches_test.go Use more specific test methods () 2023-04-22 17:56:27 -04:00
branches.go Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
commit_status_test.go Use context parameter in models/git () 2023-01-09 11:50:54 +08:00
commit_status.go Fix pull request check list is limited () () 2023-07-31 08:56:46 +00:00
lfs_lock.go Introduce path Clean/Join helper functions () 2023-03-21 16:02:49 -04:00
lfs.go Fix bugs in LFS meta garbage collection () () 2023-07-26 11:53:15 +00:00
main_test.go
protected_banch_list_test.go Fix branch protection priority () 2023-04-11 13:22:49 -04:00
protected_branch_list.go Fix branch protection priority () 2023-04-11 13:22:49 -04:00
protected_branch_test.go Supports wildcard protected branch () 2023-01-16 16:00:22 +08:00
protected_branch.go Rename repo.GetOwner to repo.LoadOwner () 2023-02-18 20:11:03 +08:00
protected_tag_test.go
protected_tag.go Use context parameter in models/git () 2023-01-09 11:50:54 +08:00