Fix search bar navigation.

This commit is contained in:
Florian THIERRY committed 2024-08-30 09:59:21 +02:00
1 parent b3a52f6a4b
commit 51af25666d
2 files changed
+12 -3

No files matched your search

@@ -27,6 +27,10 @@ export class SearchPublicationsComponent implements OnInit, OnDestroy {
if (categoryId) {
this.searchPublicationsService.loadPublications(`category_id=${categoryId}`);
}
const query = params.get('query')
if (query) {
this.searchPublicationsService.loadPublications(query);
}
});
}