Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core1329 Reduce number of deceased contacts in the demo data from… #15967

Merged
merged 1 commit into from
Nov 27, 2019

Conversation

seamuslee001
Copy link
Contributor

… 31 to 12

Overview

This reduces the number of deceased persons in the sample data from currently on dmaster 31 to 12

ping @jusfreeman @eileenmcnaughton

@civibot
Copy link

civibot bot commented Nov 26, 2019

(Standard links)

@civibot civibot bot added the master label Nov 26, 2019
@@ -649,7 +649,7 @@ private function addIndividual() {
}

// Deceased probability based on age
if ($age > 40) {
if ($age > 60) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jusfreeman
Copy link
Contributor

jusfreeman commented Nov 26, 2019

An alternate approach would just be to set 2 people to deceased rather than a random spread.
As per this comment: "Two (deceased contacts) is more than enough to illustrate the concept."
From https://lab.civicrm.org/dev/core/issues/1329#note_25149

Related Gitlab, https://lab.civicrm.org/dev/core/issues/1329

Agileware Ref: CIVICRM-1377

… 31 to 12

Limit number of deceased contacts to 4 and add in age checks as per Justin
@seamuslee001
Copy link
Contributor Author

ok @jusfreeman have implemented those changes now

Copy link
Contributor

@jusfreeman jusfreeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seamuslee001 thanks, looks good to me. With this change we will have at most 4 deceased contacts in the demo data, that's a definite improvement!

@seamuslee001
Copy link
Contributor Author

Merging as per Justin's review

@seamuslee001 seamuslee001 merged commit 63865f0 into civicrm:master Nov 27, 2019
@seamuslee001 seamuslee001 deleted the dev_core_1329 branch November 27, 2019 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants