We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3db22 commit f63d368Copy full SHA for f63d368
API/commitLogSearchApi.js
@@ -10,7 +10,7 @@ async function gitCommitLogDbSerchApi(repoId, searchCategory, searchKey) {
10
11
switch (searchCategory) {
12
case "hash":
13
- searchQuery = `SELECT * FROM commitLog_${repoId} WHERE hash LIKE "%${searchKey}%" LIMIT 10`;
+ searchQuery = `SELECT * FROM commitLog_${repoId} WHERE hash LIKE "${searchKey}%" LIMIT 10`;
14
break;
15
case "message":
16
searchQuery = `SELECT * FROM commitLog_${repoId} WHERE commit_message LIKE "%${searchKey}%" LIMIT 10`;
0 commit comments