I can't use hook_views_query_substitutions for the webform_nid option in a webform submission data field. It filters out my inserted replace pattern and the validation fails because it expects an autocomplete result.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frank.schalkwijk created an issue. See original summary.

frank.schalkwijk’s picture

FileSize
7.07 KB
frank.schalkwijk’s picture

FileSize
7.07 KB

#2 backported to 7.x-4.13

SpadXIII’s picture

Status: Active » Needs review
FileSize
7.07 KB

I just updated the patch against latest 7.x

Liam Morland’s picture

Thanks for the patch. I don't really understand the problem. Can you give an example of when this would appear? The patch really should include tests. The new functions should have more documentation, in particular, parameters and return values.

Liam Morland’s picture

Status: Needs review » Needs work