diff --git a/frontend/src/components/SearchBars.vue b/frontend/src/components/SearchBars.vue
index 4d837e14..549f662b 100644
--- a/frontend/src/components/SearchBars.vue
+++ b/frontend/src/components/SearchBars.vue
@@ -1,20 +1,9 @@
-
{
- router.push(`/torrents?title_group_name=${searchForm.torrents}`)
- searchForm.torrents = ''
- }
- "
- />
+
-
+
@@ -38,6 +27,22 @@ const searchForm = ref({
forums: '',
users: '',
})
+
+const searchTorrents = () => {
+ router.push({
+ path: '/torrents',
+ query: { title_group_name: searchForm.value.torrents },
+ })
+ searchForm.value.torrents = ''
+}
+
+const searchForums = () => {
+ router.push({
+ path: '/forum/search',
+ query: { thread_name: searchForm.value.forums },
+ })
+ searchForm.value.forums = ''
+}