diff options
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()) |