Skip to content

Commit

Permalink
[BUGFIX] Set correct export field uids
Browse files Browse the repository at this point in the history
As all filter requests are forwarded from the dispatch action to the
list action, the request is evaluated as "invalid" and submitted form
values are used by default. To ensure the current (new) field uids for
an export are taken into account, the corresponding attribute
"respectSubmittedDataValue" needs to be set.
  • Loading branch information
IchHabRecht authored and mschwemer committed Feb 20, 2025
1 parent 1ea1e43 commit 3d82039
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Resources/Private/Partials/Module/Export.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
<f:form.hidden
name="export[fields]"
value="{vh:string.implodeField(objects:'{vh:getter.getFieldsFromForm(form:firstForm,property:\'uid\',fieldType:\'exportable\')}')}"
id="export_fields" />
id="export_fields"
respectSubmittedDataValue="false" />
</f:if>

0 comments on commit 3d82039

Please sign in to comment.