+3
-1
src/lib/bsky/search.ts
+3
-1
src/lib/bsky/search.ts
···
38
38
let query = '';
39
39
40
40
for (const token of tokens) {
41
+
query && (query += ' ');
41
42
query += token.value;
42
43
}
43
44
44
45
if (filters !== undefined) {
45
46
for (const [op, value] of filters) {
46
-
query += ` ${op}:${value}`;
47
+
query && (query += ' ');
48
+
query += `${op}:${value}`;
47
49
}
48
50
}
49
51