Partially enable MSSQL case-sensitive collation support (#29238)

Follow #28662
This commit is contained in:
wxiaoguang authored and GitHub committed 2024-03-08 03:19:35 +00:00
1 parent 26653b196b
commit 29a8c8de77
5 files changed
+17 -24

No files matched your search

+1 -1
View File
@@ -232,7 +232,7 @@ func UpdateBoard(ctx context.Context, board *Board) error {
func (p *Project) GetBoards(ctx context.Context) (BoardList, error) {
boards := make([]*Board, 0, 5)
if err := db.GetEngine(ctx).Where("project_id=? AND `default`=?", p.ID, false).OrderBy("Sorting").Find(&boards); err != nil {
if err := db.GetEngine(ctx).Where("project_id=? AND `default`=?", p.ID, false).OrderBy("sorting").Find(&boards); err != nil {
return nil, err
}