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

Bulk exclude#6355

Merged
chloealee merged 2 commits intodevfrom
bulk-exclude
Apr 6, 2016
Merged

Bulk exclude#6355
chloealee merged 2 commits intodevfrom
bulk-exclude

Conversation

@chloealee
Copy link
Contributor

What's this PR do?

Script to bulk exclude any fids for node 362 (campaign runs 5439 or 2341) that are pending and whose reportback has a quantity of less than 200. This is a fix for #6353 .

How should this be manually tested?

When ssh'd in your vagrant environment, run drush updb -y in dosomething@dev:/var/www/dev.dosomething.org/html$

Check http://dev.dosomething.org:8888/us/node/362/rb/ and only fids with a quantity over 200 should still be pending and appear in the inbox.

Any background context you want to provide?

Is an update to #6353 .

To test on my local, I added a reportback with 2 reportback items. I ran the script and saw that both reportback items statuses were changed to excluded and the parent reportback flagged status changed to 0.

Then, I added two more reportback items and changed one status to flagged and the parent reportback flagged status to 1. I ran the script and the second reportback item's status updated to excluded and the reportback flagged status remained as 1.

What are the relevant tickets?

Fixes #6344

@angaither
Copy link
Contributor

👍

@chloealee chloealee merged commit 6da9e7a into dev Apr 6, 2016
@chloealee chloealee deleted the bulk-exclude branch April 7, 2016 18:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Bulk exclude backlogged reportbacks on node 362

2 participants