mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
Ignore deleted categories when running templates (#3510)
* don't look at deleted categories * note
This commit is contained in:
@@ -34,6 +34,7 @@ export async function getCategoriesWithTemplateNotes(): Promise<
|
||||
FROM notes n
|
||||
JOIN categories c ON n.id = c.id
|
||||
WHERE c.id = n.id
|
||||
AND c.tombstone = 0
|
||||
AND (lower(note) LIKE '%${TEMPLATE_PREFIX}%'
|
||||
OR lower(note) LIKE '%${GOAL_PREFIX}%')
|
||||
`,
|
||||
|
||||
6
upcoming-release-notes/3510.md
Normal file
6
upcoming-release-notes/3510.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [youngcw]
|
||||
---
|
||||
|
||||
Fix templates and syntax check running on deleted categories
|
||||
Reference in New Issue
Block a user