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.
I want to display the bare sid (without view, edit or delete link) in the report table. I added an extra component with index -8, and the matching data in the report generation.
This and #1430380 might seem redundant, but I think there's a purpose to both: this one is to allow the user to display sids in a column, and the other one is to allow a developer to get an array of sids (without having the user add them as a column first).
Comment | File | Size | Author |
---|---|---|---|
add-sid-filters-columns.patch | 1.06 KB | noel.rivas |
Comments
Comment #1
yuvaraju.an CreditAttribution: yuvaraju.an commentedThanks a lot. it works for me.
Comment #2
waluyo.umam CreditAttribution: waluyo.umam commentedI apply this patch code in drupal 7.31 also works. This is really useful.
Comment #3
srutland CreditAttribution: srutland commentedHave not yet applied the patch to our D7.34, but there's a need to present the submission id (sid) as a column in reports without having to back-trace to the actual submission. Thanks for building this module, it rocks!
UPDATE: applied the patch and it works as advertised. However, the SID which is only displayed in the URL when viewing a Webform submission is not used anywhere else in the UI as an identifying value. Be aware that the SID is *not* the same as the Serial value that was recently added to the Webform module and is displayed on both the Webform results list page and when viewing a Webform submission. This patch might better serve the community if it revealed the Serial value rather than the SID. Just a thought.
Here's a discussion on the addition of the Serial value to Webforms: https://www.drupal.org/node/2041221
I created a Feature Request to add the Serial value as a default component value in Webform Report: https://www.drupal.org/node/2390079
Cheers