diff --git a/server/ui/src/components/navbar.tsx b/server/ui/src/components/navbar.tsx index 08cad6d..fde4884 100644 --- a/server/ui/src/components/navbar.tsx +++ b/server/ui/src/components/navbar.tsx @@ -98,7 +98,7 @@ export class Navbar extends Component { } fillSearchField() { let splitPath: Array = this.context.router.route.location.pathname.split("/"); - if (splitPath.length == 5 && splitPath[1] == 'search') + if (splitPath.length == 7 && splitPath[1] == 'search') this.state.searchParams = { page: Number(splitPath[4]), q: splitPath[3],