removed old Institution, changes default sort to Publications
This commit is contained in:
@@ -17,14 +17,6 @@
|
||||
</button>
|
||||
</div>
|
||||
<h2 class="person-name">{{ person.display_name }}</h2>
|
||||
<p class="institution">
|
||||
<span>{{ (institution(person)?.display_name ?? '') | truncate: 30 }}</span>
|
||||
@if (institution(person)?.country_code) {
|
||||
<img alt="" class="flag-img"
|
||||
[src]="`https://flagcdn.io/${institution(person)?.country_code?.toLowerCase()}.svg`" height="15">
|
||||
{{institution(person)?.country_code?.toUpperCase()}}
|
||||
}
|
||||
</p>
|
||||
<p class="person-id">{{ getDistinguishingId(person) }}</p>
|
||||
<p class="stats">
|
||||
Publikationen: {{ person.works_count }} ·
|
||||
|
||||
@@ -66,7 +66,7 @@ export class PersonListComponent {
|
||||
selectedTopics = new Set<string>();
|
||||
|
||||
// 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}`;
|
||||
|
||||
Reference in New Issue
Block a user