Skip to content

Commit 989dd55

Browse files
lunnyjolheiser
andauthored
Fix missed sort bug (#21006)
Co-authored-by: John Olheiser <[email protected]>
1 parent 54c0fe6 commit 989dd55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

models/issues/issue_project.go

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ func LoadIssuesFromBoard(b *project_model.Board) (IssueList, error) {
6868
issues, err := Issues(&IssuesOptions{
6969
ProjectBoardID: b.ID,
7070
ProjectID: b.ProjectID,
71+
SortType: "project-column-sorting",
7172
})
7273
if err != nil {
7374
return nil, err
@@ -79,6 +80,7 @@ func LoadIssuesFromBoard(b *project_model.Board) (IssueList, error) {
7980
issues, err := Issues(&IssuesOptions{
8081
ProjectBoardID: -1, // Issues without ProjectBoardID
8182
ProjectID: b.ProjectID,
83+
SortType: "project-column-sorting",
8284
})
8385
if err != nil {
8486
return nil, err

0 commit comments

Comments
 (0)