Menu modification and logic for purging survey response data
mcantelon - February 6, 2007 - 22:13
| Project: | Survey |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi James! I've created a patch for the January 11 survey-4.7.x-1.x-dev release that adds a "purge" tab so, when editing a survey, survey response data can be purged.
| Attachment | Size |
|---|---|
| survey_purge.patch | 2.45 KB |

#1
This works really well! I applied the patch by hand in 5.1 and works like a charm. Thank you! This needs to be included in the next release.
#2
I tried to apply the patch with patch (put survey_purge.patch in survey directory):
patch < survey_purge.patchbut it fails on the second hunk. Applying the second hunk by hand works. Thanks so much for this patch. It's going to be a real time saver for me!
#3
Yay! Glad it's working for you.
#4
You ROCK!!!! I've been looking for something like this for a long time. THANKS!!!
#5
Great start on a necessary feature!
Tested the patch and found that it does not delete the associated records in the survey_fields table.
Please see this comment regarding a fix.
Also check out a fix for the same problem with the patch that enables deletion of individual survey responses.
#6
Survey module is no longer being maintained, use Webform module instead.
---Closing down issue queue of survey module---