mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 03:29:40 +00:00 
			
		
		
		
	Upgrade xorm to 1.3.4 (#27807)
Noticeable change: 
Remove the `OrderBy("1") `
[patch](https://github.com/go-gitea/gitea/pull/27673#issuecomment-1768570142)
for mssql since xorm has [fixed
it](0f085408af).
			
			
This commit is contained in:
		| @@ -235,7 +235,7 @@ func GetCommitStatuses(ctx context.Context, repo *repo_model.Repository, sha str | ||||
|  | ||||
| 	countSession := listCommitStatusesStatement(ctx, repo, sha, opts) | ||||
| 	countSession = db.SetSessionPagination(countSession, opts) | ||||
| 	maxResults, err := countSession.OrderBy("1").Count(new(CommitStatus)) | ||||
| 	maxResults, err := countSession.Count(new(CommitStatus)) | ||||
| 	if err != nil { | ||||
| 		log.Error("Count PRs: %v", err) | ||||
| 		return nil, maxResults, err | ||||
|   | ||||
		Reference in New Issue
	
	Block a user