Open tcoenen opened 3 years ago
Don't we want the _display
value to reflect what we want to display? So with SIA for Amsterdam, without (or with another prefix) for other municipalities?
Otherwise easy to update the frontend to use id
instead of _display
of course.
I think we should check with Amsterdam, but my hunch is that using id
in stead of _display
should be enough and permissible for Amsterdam.
Amsterdam does want to keep the SIA prefix there. So, then I'm coming back to the backend changing the value of _display
based on the tenant.
Describe the bug
The page for "Aanvullende informatie" shows the nuisance complaint number as "SIA-123", this is a hold over from the setup in Amsterdam. Now that the reaction request (reactie melder) feature is also used at other municipalities it should not show the "SIA-" part.
To Reproduce Follow the reaction request flow, until you hit the following screen and observe the nuisance complaint number contains the leading text "SIA-".
The public nuisance complaint endpoint that is accessed during the rendering of this page (
/signals/v1/public/signals/<uuid>
) also returns the bare number as can be seen below:Expected behavior The "Aanvullende informatie" page should show the nuisance complaint number without prepended "SIA".