misc: use community search page, fix sort

This commit is contained in:
Xyphyn committed 2023-09-19 15:48:14 -07:00
1 parent e0f4624489
commit 4383ba3ae5
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "photon-lemmy", "name": "photon-lemmy",
"version": "1.9.3", "version": "1.9.4",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",
+1 -2
View File
@@ -84,8 +84,7 @@
</Select> </Select>
<Sort selected={data.sort} /> <Sort selected={data.sort} />
<form <form
on:submit|preventDefault={() => on:submit|preventDefault={() => searchParam($page.url, 'q', search, 'page')}
goto(`/search?q=${search}&type=Communities`)}
class="flex flex-col sm:flex-row gap-2 sm:ml-auto items-center" class="flex flex-col sm:flex-row gap-2 sm:ml-auto items-center"
> >
<TextInput bind:value={search} /> <TextInput bind:value={search} />