Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

small improvement

daniel31x1341e34ba4ec47
diff --git a/lib/api/controllers/search/searchLinks.ts b/lib/api/controllers/search/searchLinks.ts
index 5cfd04ef..70b67408 100644
--- a/lib/api/controllers/search/searchLinks.ts
+++ b/lib/api/controllers/search/searchLinks.ts
@@ -174,6 +174,13 @@ export default async function searchLinks({
},
});
+ searchConditions.push({
+ textContent: {
+ contains: query.searchQueryString,
+ mode: POSTGRES_IS_ENABLED ? "insensitive" : undefined,
+ },
+ });
+
searchConditions.push({
tags: {
some: {