From 84509d76eb4756b5492d0076fc404f6fbc6fd6dd Mon Sep 17 00:00:00 2001 From: Filippo Campi Date: Wed, 21 Aug 2024 11:52:46 +0200 Subject: [PATCH] chaged order of submit in export --- .../plone/policy/patches/collective_volto_formsupport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/design/plone/policy/patches/collective_volto_formsupport.py b/src/design/plone/policy/patches/collective_volto_formsupport.py index 2b378c6..0558c55 100644 --- a/src/design/plone/policy/patches/collective_volto_formsupport.py +++ b/src/design/plone/policy/patches/collective_volto_formsupport.py @@ -52,7 +52,7 @@ def get_data(self): rows = [] # start patch - for index, item in enumerate(store.search()): + for index, item in enumerate(reversed(store.search())): # end patch data = {} fields_labels = item.attrs.get("fields_labels", {}) @@ -68,6 +68,7 @@ def get_data(self): # add fixed columns values value = item.attrs.get(k, None) data[k] = json_compatible(value) + # start patch if "waiting_list" in custom_colums: data.update(