fix: correct query param key for topic filter from person profile
This commit is contained in:
@@ -23,6 +23,7 @@ import { PersonBioResolved } from '../../resolvers/person-bio.resolver';
|
||||
import { PersonDataResolved } from '../../resolvers/person.resolver';
|
||||
import { BookmarkService } from '../../shared/services/bookmark.service';
|
||||
import { collaborationGraphQueryParamKeys } from '../../resolvers/collaboration-graph.resolver';
|
||||
import { workQueryParamKeys } from '../../resolvers/work-page.resolver';
|
||||
|
||||
type PersonLink = {
|
||||
label: string;
|
||||
@@ -342,8 +343,8 @@ export class PersonComponent {
|
||||
void this.router.navigate(['publications'], {
|
||||
relativeTo: this.activatedRoute,
|
||||
queryParams: {
|
||||
page: 0,
|
||||
publicationTopicId: selection.id,
|
||||
[workQueryParamKeys.page]: 0,
|
||||
[workQueryParamKeys.topicId]: selection.id,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user