From 40b9f87bef02afaed6f5db7011bc966999f530be Mon Sep 17 00:00:00 2001 From: PrivateGER Date: Sun, 28 May 2023 02:19:57 +0200 Subject: [PATCH] add advanced search parameters in search popup --- packages/client/src/scripts/search.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/client/src/scripts/search.ts b/packages/client/src/scripts/search.ts index c7b8582ac..e405115bf 100644 --- a/packages/client/src/scripts/search.ts +++ b/packages/client/src/scripts/search.ts @@ -12,7 +12,10 @@ export async function search() { "has:image/video/audio/text/file => filter by attachment types\n" + "domain:domain.com => filter by domain\n" + "before:Date => show posts made before Date\n" + - "after:Date => show posts made after Date", + "after:Date => show posts made after Date\n" + + '"text" => get posts with exact text between quotes\n' + + "filter:following => show results only from users you follow\n" + + "filter:followers => show results only from followers\n", }); if (canceled || query == null || query === "") return;