gppa-populate-all-results.php: Updated to call process_template() so each object value is passed through all template filters.
#615
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
⛑️ Ticket(s): https://secure.helpscout.net/conversation/2135407267/43315/
Summary
Customer was attempting to use our "Populate All Results" snippet to populate all the names entered in a Name field across multiple child entries as a comma-delimited list in a Single Line Text field.
Previously, the snippet used the
$object_type->get_object_prop_value()method which did not correctly handle joining the values for multi-input field's like Name fields. TheGPPA_Object_Type_GF_Entry::maybe_combine_multi_input_entry_template()method bound to thegppa_process_templatefilter does but we need to callGP_Populate_Anything::process_template()to fetch the value so that it can be automatically applied.@claygriffiths My specific concern here is just performance. I've already done my best to mitigate as much damage as possible but wanted to get your sign off that this won't be overly burdensome?