Skip to content

Commit 5e90e78

Browse files
committed
pasta&copy
1 parent d98eb20 commit 5e90e78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/db/media.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func SearchMedia(ctx context.Context, gid int64, term string, offset int) ([]Med
184184
`SELECT media.rowid, media.gid, media.data, media.description, media.created_at
185185
FROM media_fts
186186
JOIN media ON posts.rowid = posts_fts.rowid
187-
WHERE media_fts.text MATCH ?
187+
WHERE media_fts.description MATCH ?
188188
AND media_fts.gid=?
189189
ORDER BY media.score DESC
190190
LIMIT 6

0 commit comments

Comments
 (0)