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

Parannuksia osoitteiden vertailuun #6102

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Conversation

Joosakur
Copy link
Contributor

@Joosakur Joosakur commented Dec 9, 2024

No description provided.

@Joosakur Joosakur added the bug Korjaus olemassa olevaan toiminnallisuuteen label Dec 9, 2024
person1.streetAddress.lowercase() == person2.streetAddress.lowercase() &&
person1.postalCode == person2.postalCode
person1.postalCode == person2.postalCode &&
person1.postOffice == person2.postOffice
Copy link
Contributor

@akheron akheron Dec 10, 2024

Choose a reason for hiding this comment

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

Onko oikein että tässä ei katsota residence codea ollenkaan? Eikun se tsekataankin tuolla toisessa funktiossa 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

se on tuossa eri funktiossa jotka yhdistetään:
return personsHaveSameResidenceCode(person1, person2) || personsHaveSameAddress(person1, person2)
mutta en tiedä mistä tää logiikka on peräisin

@Joosakur Joosakur merged commit 4f9c431 into master Dec 10, 2024
30 checks passed
@Joosakur Joosakur deleted the improve-same-address-check branch December 10, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Korjaus olemassa olevaan toiminnallisuuteen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants