From 1cf0d91af54f43f1a66e0c142ba79df9d9293150 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 12 Aug 2023 21:34:00 +0200 Subject: [PATCH] feat: search all resources for authors --- routes/articles/[name].tsx | 2 +- routes/movies/[name].tsx | 2 +- routes/series/[name].tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/articles/[name].tsx b/routes/articles/[name].tsx index 4bc3f00..0fcf91a 100644 --- a/routes/articles/[name].tsx +++ b/routes/articles/[name].tsx @@ -38,7 +38,7 @@ export default function Greet( subline={[ author && { title: author, - href: `/series?q=${encodeURIComponent(author)}`, + href: `/?q=${encodeURIComponent(author)}`, }, date.toString(), ]} diff --git a/routes/movies/[name].tsx b/routes/movies/[name].tsx index 00a3921..e22fa46 100644 --- a/routes/movies/[name].tsx +++ b/routes/movies/[name].tsx @@ -32,7 +32,7 @@ export default function Greet( subline={[ author && { title: author, - href: `/movies?q=${encodeURIComponent(author)}`, + href: `/?q=${encodeURIComponent(author)}`, }, date.toString(), ]} diff --git a/routes/series/[name].tsx b/routes/series/[name].tsx index 7b8199f..79a7442 100644 --- a/routes/series/[name].tsx +++ b/routes/series/[name].tsx @@ -32,7 +32,7 @@ export default function Greet( subline={[ author && { title: author, - href: `/series?q=${encodeURIComponent(author)}`, + href: `/?q=${encodeURIComponent(author)}`, }, date.toString(), ]}