Change search logic
This commit is contained in:
parent
f293d161c5
commit
a290b4fb0b
|
@ -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, {
|
||||
|
|
Loading…
Reference in New Issue