diff --git a/src/app/events/components/events-students-course-entry/events-students-course-entry.component.html b/src/app/events/components/events-students-course-entry/events-students-course-entry.component.html
index de1ed9749..b766fb144 100644
--- a/src/app/events/components/events-students-course-entry/events-students-course-entry.component.html
+++ b/src/app/events/components/events-students-course-entry/events-students-course-entry.component.html
@@ -6,10 +6,10 @@
>
{{ name() }}{{ entry().name }}
{{ multipleStudyClasses() ? entry().studyClass : "" }}
diff --git a/src/app/events/components/events-students-course-entry/events-students-course-entry.component.spec.ts b/src/app/events/components/events-students-course-entry/events-students-course-entry.component.spec.ts
index 4f4cd27d0..fcb9c88e8 100644
--- a/src/app/events/components/events-students-course-entry/events-students-course-entry.component.spec.ts
+++ b/src/app/events/components/events-students-course-entry/events-students-course-entry.component.spec.ts
@@ -19,8 +19,7 @@ describe("EventsStudentsCourseEntryComponent", () => {
fixture.componentRef.setInput("entry", {
id: 1,
- firstName: "Jane",
- lastName: "Doe",
+ name: "Doe Jane",
email: "jane.doe@example.com",
studyClass: "26a",
company: "Coop Genossenschaft",
@@ -31,9 +30,9 @@ describe("EventsStudentsCourseEntryComponent", () => {
it("renders firstname/lastname with link to dossier including returnlink", () => {
const link = element.querySelector
("a.name");
- expect(link?.textContent).toContain("Jane Doe");
+ expect(link?.textContent).toContain("Doe Jane");
expect(link?.href).toContain(
- "student/1/absences?returnparams=returnlink%3D%252Fevents%252Fcurrent",
+ "student/1/addresses?returnparams=returnlink%3D%252Fevents%252Fcurrent",
);
});
diff --git a/src/app/events/components/events-students-course-entry/events-students-course-entry.component.ts b/src/app/events/components/events-students-course-entry/events-students-course-entry.component.ts
index fe20835ac..33f1c592d 100644
--- a/src/app/events/components/events-students-course-entry/events-students-course-entry.component.ts
+++ b/src/app/events/components/events-students-course-entry/events-students-course-entry.component.ts
@@ -21,14 +21,10 @@ export class EventsStudentsCourseEntryComponent {
multipleStudyClasses = input(false);
returnLink = input