diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-31 15:14:11 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-31 15:19:40 +0800 |
commit | 0f35ae1fb99bc2f4db741e5f7b16273662459880 (patch) | |
tree | 64a371130c03772a58298a8dc0534acf40d72171 /http_handle_repo_contrib_index.go | |
parent | Per-tracker ticket IDs in the SQL schema (diff) | |
download | forge-0f35ae1fb99bc2f4db741e5f7b16273662459880.tar.gz forge-0f35ae1fb99bc2f4db741e5f7b16273662459880.tar.zst forge-0f35ae1fb99bc2f4db741e5f7b16273662459880.zip |
Per-repo merge request sequences
Diffstat (limited to 'http_handle_repo_contrib_index.go')
-rw-r--r-- | http_handle_repo_contrib_index.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_contrib_index.go b/http_handle_repo_contrib_index.go index 4f54836..c199bfa 100644 --- a/http_handle_repo_contrib_index.go +++ b/http_handle_repo_contrib_index.go @@ -21,7 +21,7 @@ func httpHandleRepoContribIndex(writer http.ResponseWriter, request *http.Reques var err error if rows, err = database.Query(request.Context(), - "SELECT id, COALESCE(title, 'Untitled'), status FROM merge_requests WHERE repo_id = $1", + "SELECT repo_local_id, COALESCE(title, 'Untitled'), status FROM merge_requests WHERE repo_id = $1", params["repo_id"], ); err != nil { errorPage500(writer, params, "Error querying merge requests: "+err.Error()) |