die-wegmeister / Wegmeister.DatabaseStorage

A Neos CMS plugin to store data into Database and export it as xlsx (and other table formats). Also compatible with the Neos FormBuilder (https://github.com/neos/form-builder).
GNU General Public License v3.0
5 stars 7 forks source link

[FEATURE] fallback to field label on missing id, export all saved field ids over time #23

Closed markusguenther closed 2 years ago

markusguenther commented 2 years ago
if no field ID is set the NodeIdentifier (like 7bf85ad4-5be8-48d1-a9e6-894384e0d4f3) was used as column header.
This change enhances the readability of the export files by using the field label if set.

Exporting form data only extracted the columns of the last entry. If the form has changed over time by
adding or removing fields those where not exportet. The pacht now looks up all saved entry attributes and
includes them to the export data.

[FEATURE] add setting ignoredExportNodeTypes
[FEATURE] An additional "back to list of IDs" button has been added on top of the list.
[BUGFIX] handle array field values (i.e. multiple select, checkboxes)
Benjamin-K commented 2 years ago

Hey @markusguenther, thanks for your great enhancement of the DB-Storage. Could you please have a look at my changes made to the way how values are transformed to strings for the output (new method getStringValue) and update the PR accordingly? This would be awesome. Then i can hopefully merge your PR soon.

Benjamin-K commented 2 years ago

This will possibly fix #7.

markusguenther commented 2 years ago

Hello @Benjamin-K

This patch was originally from Andy Meier. I did not find the PR or issue here but wanted to give this back.

I just needed to adapt the composer patch in the project while updating the package. If you say this is already fixed. I can also close the PR :) Just want to prevent that the change gets lost.

TBH don't know where the change was submitted before.

Author: Andy Meier <andy.meier@visol.ch>
Date:   Wed Mar 13 10:20:27 2019 +0100
lorenzulrich commented 2 years ago

Hi @markusguenther Please abandon this PR; we'll provide a more mature one.