Skip to content
Snippets Groups Projects
Commit 8dee6c10 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6301 OZG-6525 Add house number to address

parent a517e9f9
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ describe('SearchOrganisationsEinheitFormComponent', () => {
const instantSearchResult: InstantSearchResult<OrganisationsEinheitResource> =
component.mapToInstantantSearchResult(organisationsEinheitResource);
const expectedDescription: string = `${organisationsEinheitResource.anschrift.strasse} ${organisationsEinheitResource.anschrift.plz} ${organisationsEinheitResource.anschrift.ort}`;
const expectedDescription: string = `${organisationsEinheitResource.anschrift.strasse} ${organisationsEinheitResource.anschrift.hausnummer}, ${organisationsEinheitResource.anschrift.plz} ${organisationsEinheitResource.anschrift.ort}`;
expect(instantSearchResult.description).toBe(expectedDescription);
});
......
......@@ -34,7 +34,7 @@ export class SearchOrganisationsEinheitFormComponent {
): InstantSearchResult<OrganisationsEinheitResource> {
return <any>{
title: organisationsEinheit.name,
description: `${organisationsEinheit.anschrift.strasse} ${organisationsEinheit.anschrift.plz} ${organisationsEinheit.anschrift.ort}`,
description: `${organisationsEinheit.anschrift.strasse} ${organisationsEinheit.anschrift.hausnummer}, ${organisationsEinheit.anschrift.plz} ${organisationsEinheit.anschrift.ort}`,
data: organisationsEinheit,
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment