From 4701f294d08d178a76c7fd5b42fc44e1e4f3ecd0 Mon Sep 17 00:00:00 2001 From: Kazgatari <56477241+Kazgatari@users.noreply.github.com> Date: Mon, 8 Jun 2026 12:43:29 +0200 Subject: [PATCH] removed old Institution, changes default sort to Publications --- .../app/modules/person-card/person-card.component.html | 8 -------- .../src/app/modules/person-list/person-list.component.ts | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/webapp/src/app/modules/person-card/person-card.component.html b/webapp/src/app/modules/person-card/person-card.component.html index fb162777..31fd3885 100644 --- a/webapp/src/app/modules/person-card/person-card.component.html +++ b/webapp/src/app/modules/person-card/person-card.component.html @@ -17,14 +17,6 @@

{{ person.display_name }}

-

- {{ (institution(person)?.display_name ?? '') | truncate: 30 }} - @if (institution(person)?.country_code) { - - {{institution(person)?.country_code?.toUpperCase()}} - } -

{{ getDistinguishingId(person) }}

Publikationen: {{ person.works_count }} ยท diff --git a/webapp/src/app/modules/person-list/person-list.component.ts b/webapp/src/app/modules/person-list/person-list.component.ts index 555197bb..fef6aab5 100644 --- a/webapp/src/app/modules/person-list/person-list.component.ts +++ b/webapp/src/app/modules/person-list/person-list.component.ts @@ -66,7 +66,7 @@ export class PersonListComponent { selectedTopics = new Set(); // Forms - sortControl = new FormControl('relevance', { nonNullable: true }); + sortControl = new FormControl('works', { nonNullable: true }); topicSearchControl = new FormControl('', { nonNullable: true }); institutionControl = new FormControl('', { nonNullable: true }); yearFilterEnabledControl = new FormControl(false, { nonNullable: true }); @@ -246,7 +246,7 @@ export class PersonListComponent { }> { const list: Array<{ category: string; value: string; label: string }> = []; this.selectedTopics.forEach((t) => { - list.push({ category: 'topic', value: t, label: t }); + list.push({ category: 'topic', value: t, label: `Thema: ${t}` }); }); if (this.institutionControl.value) { let label = `Institution: ${this.institutionControl.value}`;