From 6fe7b1e407c3d238b0e1a86fe7b971a019019a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominic=20K=C3=B6nig?= Date: Fri, 5 Nov 2021 13:06:08 +0100 Subject: [PATCH] Make task name editable --- VERSION | 2 +- controllers/admin.py | 2 +- modules/core/tools/tasks.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 0825476f6b..eabba6af2c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -nursix-dev-5174-g2e780b472 (2021-11-05 12:41:45) +nursix-dev-5175-g0b77d382b (2021-11-05 13:06:08) diff --git a/controllers/admin.py b/controllers/admin.py index 0e5e9e83a6..ae42fc944c 100755 --- a/controllers/admin.py +++ b/controllers/admin.py @@ -1332,7 +1332,7 @@ def prep(r): editable = False, ) - s3task.configure_tasktable_crud(task="", status_writable=True) + s3task.configure_tasktable_crud(status_writable=True) return True s3.prep = prep diff --git a/modules/core/tools/tasks.py b/modules/core/tools/tasks.py index b8750f1f24..9ed5cf8e69 100644 --- a/modules/core/tools/tasks.py +++ b/modules/core/tools/tasks.py @@ -129,7 +129,7 @@ def configure_tasktable_crud(self, task = str(uuid4()) field = table.task_name field.default = task - field.readable = field.writable = False + field.readable = field.writable = True # Function (default+hide if specified as parameter) if function: