diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-09-01 02:15:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 14:15:12 -0400 |
commit | de5b8cfad889b9dcdd42d86f62482abc6e410cb2 (patch) | |
tree | aed28412e267b9a1d370ad8f954f792f984f158e /models | |
parent | 230176db5e3c7ddd2872aa2eb0e670273d270165 (diff) | |
download | gitea-de5b8cfad889b9dcdd42d86f62482abc6e410cb2.tar.gz gitea-de5b8cfad889b9dcdd42d86f62482abc6e410cb2.zip |
Fix missed sort bug (#20996)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models')
-rw-r--r-- | models/issues/issue_project.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/issues/issue_project.go b/models/issues/issue_project.go index aed78611ea..8299087c5b 100644 --- a/models/issues/issue_project.go +++ b/models/issues/issue_project.go @@ -68,6 +68,7 @@ func LoadIssuesFromBoard(b *project_model.Board) (IssueList, error) { issues, err := Issues(&IssuesOptions{ ProjectBoardID: b.ID, ProjectID: b.ProjectID, + SortType: "project-column-sorting", }) if err != nil { return nil, err @@ -79,6 +80,7 @@ func LoadIssuesFromBoard(b *project_model.Board) (IssueList, error) { issues, err := Issues(&IssuesOptions{ ProjectBoardID: -1, // Issues without ProjectBoardID ProjectID: b.ProjectID, + SortType: "project-column-sorting", }) if err != nil { return nil, err |