Skip to content

Commit

Permalink
Fix missed sort bug (#21006)
Browse files Browse the repository at this point in the history
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
  • Loading branch information
lunny and jolheiser committed Aug 31, 2022
1 parent 54c0fe6 commit 989dd55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/issues/issue_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 989dd55

Please sign in to comment.