works: count interesting-for topics like the publications filter

This commit is contained in:
2026-07-07 01:08:14 +02:00
parent 213edf8a5f
commit cf9a5df4e9
2 changed files with 26 additions and 2 deletions
@@ -106,7 +106,7 @@ export class PersonInterestingComponent implements OnInit {
});
}
return tags.sort((a, b) => b.count - a.count).slice(0, MAX_TAGS);
return tags.slice(0, MAX_TAGS).sort((a, b) => b.count - a.count);
});
readonly legendGroups = computed(() =>