fix: allow sorting of MyProjectOrgs (by name) (#7970)

This commit is contained in:
Livio Spring
2024-05-17 09:52:15 +02:00
committed by GitHub
parent 9e91b53bd4
commit b924fd59a5
5 changed files with 21 additions and 16 deletions

View File

@@ -266,9 +266,10 @@ func ListMyProjectOrgsRequestToQuery(req *auth_pb.ListMyProjectOrgsRequest) (*qu
}
return &query.OrgSearchQueries{
SearchRequest: query.SearchRequest{
Offset: offset,
Limit: limit,
Asc: asc,
Offset: offset,
Limit: limit,
Asc: asc,
SortingColumn: org.FieldNameToOrgColumn(req.SortingColumn),
},
Queries: queries,
}, nil