-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Support sorting for project board issuses #17152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
bb95eca
support sorting for project board issuses
anbraten fbe30c3
remove debug
anbraten 3e9c83a
rename issueID to issueIndex
anbraten cab5da6
Merge branch 'main' into sort-project-issuses
anbraten 65e2d16
Revert "rename issueID to issueIndex"
anbraten 208b522
allow sorting project-issue-cards
anbraten 615eb32
use batch update
anbraten 983adfd
Merge remote-tracking branch 'upstream/main' into sort-project-issuses
anbraten 11b8e1d
add migration
anbraten 0384563
fix form type
anbraten cd3028a
apply suggestions
anbraten 402dc9f
update sorting in batch
anbraten ad221d9
Merge remote-tracking branch 'upstream/main' into sort-project-issuses
anbraten 4b75000
undo formatting
anbraten d487a3b
Merge branch 'main' into sort-project-issuses
wxiaoguang a814a95
Merge remote-tracking branch 'upstream/main' into sort-project-issuses
anbraten 4f98fe1
merge
anbraten 9ab2566
undo formatting
anbraten 69be593
fix linter
anbraten de2d38a
fix
wxiaoguang c386df7
fix uncategorized board
wxiaoguang 6b432a6
Merge branch 'main' into sort-project-issuses
wxiaoguang e1d9cb7
Merge branch 'main' into sort-project-issuses
wxiaoguang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2021 The Gitea Authors. All rights reserved. | ||
// Use of this source code is governed by a MIT-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package migrations | ||
|
||
import ( | ||
"xorm.io/xorm" | ||
) | ||
|
||
func addProjectIssueSorting(x *xorm.Engine) error { | ||
// ProjectIssue saves relation from issue to a project | ||
type ProjectIssue struct { | ||
Sorting int64 `xorm:"NOT NULL DEFAULT 0"` | ||
} | ||
|
||
return x.Sync2(new(ProjectIssue)) | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.