From 1e103960bd50c18d4192fb32b4ef3f709167d573 Mon Sep 17 00:00:00 2001 From: Alexander Watzinger Date: Wed, 20 Sep 2023 14:33:21 +0200 Subject: [PATCH] Fix order of add_dynamic buttons --- openatlas/forms/field.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openatlas/forms/field.py b/openatlas/forms/field.py index 5ede9e1a9..138ed3051 100644 --- a/openatlas/forms/field.py +++ b/openatlas/forms/field.py @@ -250,6 +250,7 @@ def __init__( self.related_tables = related_tables or [] self.add_dynamical = \ (add_dynamic or []) if is_authorized('editor') else [] + self.add_dynamical.reverse() # Reverse needed (CSS .float-end) widget = TableSelect()