Change search logic

This commit is contained in:
Piotr Rogowski 2022-10-30 14:12:30 +01:00
parent f293d161c5
commit a290b4fb0b
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ const useDb = () => {
const filter = phrases
.filter((phrase) => phrase.length > 1)
.map((phrase) => `textSearch ~ "${phrase}"`)
.join(' || ');
.join(' && ');
try {
const list = await tunesCollection.getList(page, perPage, {