anix/fix: search in bookmarks, user collections, user favorites, user history

This commit is contained in:
Kentai Radiquum 2025-08-25 05:38:06 +05:00
parent 8d2800c2f2
commit 93205fdb4e
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
6 changed files with 55 additions and 19 deletions

View file

@ -82,7 +82,7 @@ export function BookmarksCategoryPage(props: any) {
<Spinner />
</div>
);
};
}
if (error) {
return (
@ -105,7 +105,9 @@ export function BookmarksCategoryPage(props: any) {
className="flex-1 max-w-full mx-4"
onSubmit={(e) => {
e.preventDefault();
router.push(`/search?q=${searchVal}&where=list&list=${props.slug}`);
router.push(
`/search?query=${searchVal}&params={"where"%3A"list"%2C"searchBy"%3A"${props.slug}"}`
);
}}
>
<label