Currently, when downloading the results of a webform, there is the option to download a .zip that also contains all the files that have been attached to submissions. The problem is that all these files are included loose in the .zip, which makes it really hard to pair them up with the submissions.
This patch adds a "Group files by submission" option to the downloads page, which causes all the files in the .zip to be sorted into folders named with the submission id.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | file_download_radios-1258812-3.patch | 2.84 KB | cyborg_572 |
| #1 | download_grouping.patch | 3.03 KB | cyborg_572 |
Comments
Comment #1
cyborg_572 commentedand this time, I'll even attach the patch.
Comment #2
vernond commentedI really like the idea. From a usability perspective it might make more sense to change the two checkboxes into three radios. Something along these lines:
Submitted files
(*) Exclude submitted files
( ) All files in a single .zip archive folder
( ) All files grouped in numbered .zip archive folders
Apart from the clumsy phrasing, what do you think?
Comment #3
cyborg_572 commentedI think that's way better than the two checkboxes. Here's an updated patch, the code's a bit less redundant this time around too.
Comment #4
vernond commented@cyborg_572 - cool, I'll get back to this when I'm capable of creating a proper dev release
Comment #5
cybermache commentedThis sounds great, would it be better to make this more general? Instead of only sorting by a file, sort by component? File could be included in this but also allow for grouping by those who answered option A for question one for instance. Then down the road this could also open itself up for downloading separate reports according to that grouping. I would love to see separate excell reports for each grouping. Any opinion on whether what I'm talking about is even feasible?
Comment #6
quicksketchThis feature has actually been rolled back from Webform currently because it was accidentally committed. See #1137348: Ability to download archive of CSV and all files. So the first thing we need to do before even considering this change is get the zip functionality back into Webform 3.x.
Comment #7
danchadwick commentedThere won't be further feature development in the X.x-3.x branches.