mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
Compare commits
1 Commits
react-quer
...
fix-sql-in
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15e4023ced |
@@ -370,7 +370,8 @@ async function getCategoryTemplates() {
|
||||
const templates = {};
|
||||
|
||||
const notes = await db.all<db.DbNote>(
|
||||
`SELECT * FROM notes WHERE lower(note) like '%${TEMPLATE_PREFIX}%'`,
|
||||
`SELECT * FROM notes WHERE lower(note) like ?`,
|
||||
[`%${TEMPLATE_PREFIX}%`]
|
||||
);
|
||||
|
||||
for (let n = 0; n < notes.length; n++) {
|
||||
|
||||
Reference in New Issue
Block a user