1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-13 13:51:53 +00:00

Fix sql column error

This commit is contained in:
杨赫然
2022-12-08 14:36:51 +08:00
parent 5c741c15ca
commit c0b7ba6013
2 changed files with 3 additions and 3 deletions

View File

@@ -424,7 +424,7 @@ func GetReposByOwner(email string) ([]*SharedRepo, error) {
"LEFT JOIN RepoInfo i ON o.repo_id = i.repo_id " +
"LEFT JOIN VirtualRepo v ON o.repo_id = v.repo_id " +
"WHERE owner_id=? AND " +
"v.repo_Id IS NULL " +
"v.repo_id IS NULL " +
"ORDER BY i.update_time DESC, o.repo_id"
stmt, err := seafileDB.Prepare(query)