-
Notifications
You must be signed in to change notification settings - Fork 6
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
✨ [#1950] Filter by vestigingsnummer in Mijn Vragen #941
Conversation
4e231f0
to
8020049
Compare
8020049
to
1b7ac8c
Compare
params = {"subjectNietNatuurlijkPersoon__innNnpId": user_kvk_or_rsin} | ||
|
||
if vestigingsnummer: | ||
params = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code does assume that a Contactmoment
that is relevant for both the hoofdvestiging and another vestiging has two KlantContactMomenten
.
This also means that the UUID of the entries that show up in the listview for the hoofdvestiging and the vestiging are different (because they belong to different KlantContactMomenten
that point to the same ContactMoment
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As there's no other way to model this using the Contactmomenten API this is indeed implied (itt. the Zaken API which does allow multiple participants for a case).
We'll have to test this with Enschede & the eSuite in order to be sure this works as expected
1b7ac8c
to
e8c940f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #941 +/- ##
===========================================
+ Coverage 93.07% 93.09% +0.02%
===========================================
Files 828 828
Lines 28949 29055 +106
===========================================
+ Hits 26943 27049 +106
Misses 2006 2006 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me, but wait until Bart or Paul does a double-check
task: https://taiga.maykinmedia.nl/project/open-inwoner/task/1950