Skip to content

Commit

Permalink
Increase the number of suggested notes 10 -> 20
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-r-m committed Feb 1, 2021
1 parent 4c82f65 commit af0d87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function getNotes(prefix: string): Promise<any[]> {
} else {
const notes = await joplin.data.get(['search'], {
fields: ['id', 'title'],
limit: 11,
limit: 21,
query: `title:${prefix.trimRight()}*`,
});
return notes.items;
Expand Down

0 comments on commit af0d87d

Please sign in to comment.