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

Update NewsLetterLabels.php #5984

Conversation

javacorey
Copy link
Contributor

What's this PR do?

Fixes the bug where newsletter labels print with the country even when residents of the United States

Screenshots (if appropriate)

What Issues does it Close?

Closes 5983

What are the relevant tickets?

#5983

Any background context you want to provide?

Where should the reviewer start?

How should this be manually tested?

create labels from /LettersAndLabels.php

How should the automated tests treat this?

Questions:

  • Is there a related website / article to substantiate / explain this change?

    • Yes - Link:
    • [x ] No
  • Does the development wiki need an update?

    • Yes - Link:
    • [x ] No
  • Does the user documentation wiki need an update?

    • Yes - Link:
    • [ x] No
  • Does this add new dependencies?

    • Yes
    • [x ] No
  • Does this need to add new data to the demo database

    • Yes
    • [x ] No

@DawoudIO DawoudIO merged commit 59ea722 into ChurchCRM:master Feb 12, 2022
Copy link
Collaborator

@MrClever MrClever left a comment

Choose a reason for hiding this comment

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

LGTM - set it free

@brianteeman
Copy link
Contributor

And what if you are in France and have addresses for people in the USA

@MrClever
Copy link
Collaborator

MrClever commented Feb 14, 2022

Good point. I hadn't tested this previously, but here's what happens on my 4.4.5 test system (we're based in NSW Australia):

  1. Create "Mr Test Tester" who happens to reside at the Apple campus un Cupertino (because it's an easy USA-based address to remember):

Screen Shot 2022-02-14 at 12 54 50 pm

2. Generate a "People Directory" and check for any locale weirdness:

Screen Shot 2022-02-14 at 12 54 56 pm

Yep - that's a bug. I've raised #5986 to capture it.

@DawoudIO DawoudIO added this to the 4.5.0 milestone Jun 20, 2022
@DawoudIO DawoudIO added the bug label Jun 20, 2022
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.

4 participants