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).

CommentFileSizeAuthor
add-sid-filters-columns.patch1.06 KBnoel.rivas
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yuvaraju.an’s picture

Issue summary: View changes

Thanks a lot. it works for me.

waluyo.umam’s picture

I apply this patch code in drupal 7.31 also works. This is really useful.

srutland’s picture

Have 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