From 982d5bc46f02d7146c636c2da3e9239fa3d78d32 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Wed, 8 Dec 2021 14:45:15 +0100
Subject: [PATCH] Fix broken download link in job result lists
---
app/static/js/nopaque/RessourceLists/JobResultList.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/static/js/nopaque/RessourceLists/JobResultList.js b/app/static/js/nopaque/RessourceLists/JobResultList.js
index 53413f3b..56399bcb 100644
--- a/app/static/js/nopaque/RessourceLists/JobResultList.js
+++ b/app/static/js/nopaque/RessourceLists/JobResultList.js
@@ -65,7 +65,7 @@ class JobResultList extends RessourceList {
action = actionButtonElement.dataset.action;
switch (action) {
case 'download':
- window.location.href = `/jobs/${this.jobId}/results/${jobResultId}`;
+ window.location.href = `/jobs/${this.jobId}/results/${jobResultId}/download`;
break;
default:
break;