diff --git a/lib/pages/search.dart b/lib/pages/search.dart index 8c8c0a49..deb2ec87 100644 --- a/lib/pages/search.dart +++ b/lib/pages/search.dart @@ -134,7 +134,8 @@ class SearchController extends State { @override Widget build(BuildContext context) { alias = VRouter.of(context).queryParameters['query']; - genericSearchTerm = alias; + if (alias != null) genericSearchTerm ??= alias; + return SearchView(this); } }