Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Update Partner extract function in Campaign class #6396

Closed
weerd opened this issue Apr 26, 2016 · 0 comments
Closed

Update Partner extract function in Campaign class #6396

weerd opened this issue Apr 26, 2016 · 0 comments

Comments

@weerd
Copy link
Contributor

weerd commented Apr 26, 2016

FEATURE OVERVIEW

User Story

As a developer, I would like to be able to ask the getPartners() method for an array of all the partners that are affiliated with a Campaign.

Currently, due to how the dosomething_helpers_extract_field_data() function works, it will only pass the first or only partner id. Need to update the dosomething_helpers_extract_field_data() to allow grabbing the entire array of partners ids if we want to, or alternatively add logic to the function to account for multiple partners and return an array of ids if there is more than one.

Why This Matters

If there is more than one partner associated with a Campaign, we currently can not extract that data properly for the API.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants