From d2dc182dcda4cadd3da0d1fc032f392f94b3ec7b Mon Sep 17 00:00:00 2001 From: wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf <61180606+wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf@users.noreply.github.com> Date: Tue, 16 Mar 2021 16:42:25 +0100 Subject: [PATCH] fix: {show,link to} proper PR on kanban board ref (#15004) the issue was that PR references in kanban boards were being generated using `.ID` instead of `.Index`, which led to constructing incorrect links to possibly non-existent {PR,issue}s and following that to showing nonsensical values in the boards. kudos also go to @zeripath for pointing at the file to fix. Signed-off-by: wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf Co-authored-by: zeripath --- templates/repo/projects/view.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index de1fc37b03..1d4a26837e 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -175,9 +175,9 @@ {{- end }} {{- range index $.LinkedPRs .ID }} {{- end }}