Skip to content

Commit 5091878

Browse files
authored
Update README.md
1 parent 5c15095 commit 5091878

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/components/useDocsSearch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const query = request.params.query;
5353
const requestid = request.params.requestid;
5454
return {
5555
data: {
56-
search: await connection.sql`SELECT url, replace(snippet(documentation, -1, '<b>', '</b>', '...', 10), x'0A', ' ') as 'snippet' FROM documentation WHERE content MATCH concat(${query}, '*') ORDER BY rank LIMIT 256;`,
56+
search: await connection.sql`SELECT url, options, replace(snippet(documentation, -1, '<b>', '</b>', '...', 10), x'0A', ' ') as 'snippet' FROM documentation WHERE content MATCH concat(${query}, '*') ORDER BY rank LIMIT 256;`,
5757
requestid: requestid
5858
}
5959
}

0 commit comments

Comments
 (0)