From 87a6263433d28aec938684aa0449fcb5e94d428b Mon Sep 17 00:00:00 2001 From: Nico Vermaas <vermaas@astron.nl> Date: Fri, 12 Mar 2021 20:58:43 +0100 Subject: [PATCH] bonus link in dashboard --- atdb/taskdatabase/services/algorithms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atdb/taskdatabase/services/algorithms.py b/atdb/taskdatabase/services/algorithms.py index 8e501578..c689ae3d 100644 --- a/atdb/taskdatabase/services/algorithms.py +++ b/atdb/taskdatabase/services/algorithms.py @@ -202,7 +202,7 @@ def construct_link(request, status, workflow_id, count): link = str(count) try: query = "?status=" + status + "&workflow__id=" + str(workflow_id) - if settings.DEV == False: + if settings.DEV == True: url = request.build_absolute_uri('/atdb/tasks') + query else: url = "https://" + request.get_host() + '/atdb/tasks' + query -- GitLab