From b76f45368b3ec8253969bcd407b8f9d2d6c598c3 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Mon, 30 Aug 2021 15:29:49 -0400 Subject: [PATCH] Explicitly commit the changes --- crc/api/workflow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crc/api/workflow.py b/crc/api/workflow.py index d3968899..81ec4f4c 100644 --- a/crc/api/workflow.py +++ b/crc/api/workflow.py @@ -360,6 +360,7 @@ def delete_workflow_spec_category(cat_id): category_model.display_order = new_order session.add(category_model) new_order += 1 + session.commit() def reorder_workflow_spec_category(cat_id, direction):