Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Similar to a solution proposed in #834502: Results download is not aware of draft status., but not implemented, it would be nice to be able to filter the downloads by draft status.
Comment | File | Size | Author |
---|---|---|---|
#2 | webform_drafts_download-2039285.patch | 4.47 KB | quicksketch |
#1 | webform-download-draft-status-2039285-01.patch | 1.96 KB | jhedstrom |
#1 | webform-download-draft-status-2039285-01-6.x.txt | 1.97 KB | jhedstrom |
Comments
Comment #1
jhedstromPatch for 7.x attached, the
.txt
file includes a backport to 6.x.Comment #2
quicksketchGenerally new features are only being included in the 7.x-4.x branch. Webform 3.x is maintenance-only at this point. However since you included backports, we could probably make this happen for previous versions.
Unfortunately there were a number of issues that need to be addressed because of changes in the 4.x branch:
- This patch does not work on "latest x submissions" feature, since it will filter the list of submissions AFTER the list of latest SIDs has been retrieved.
- This patch doesn't work after the introduction of #1327186: Use BatchAPI to Export very large data sets to CSV/Excel (admittedly that happened at the same time as your patches)
- UI-wise, I think it would be better to put this set of radio buttons under the "Download range" options. After the changes to the way downloading works, it actually MUST be located inside this fieldset in order for the settings to make it to the all the necessary functions.
I rerolled the patch to work with 7.x-4.x and updated the naming conventions to match other range options (e.g. calling it "completion_type" to match "range_type" instead of "draft_options").
If you'd like this patch backported to 7.x-3.x and 6.x-3.x, I can accomodate that if you reroll the patch based on this changed version. In the mean time, I've committed this version to the 7.x-4.x version.
Comment #3
DanChadwick CreditAttribution: DanChadwick commented7.x-3.x is receiving critical bug fixes only.