parent
2215511f2c
commit
a1c507b477
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ WITH campLists AS (
|
||||||
WHERE lists.id = ANY($14::INT[])
|
WHERE lists.id = ANY($14::INT[])
|
||||||
),
|
),
|
||||||
tpl AS (
|
tpl AS (
|
||||||
-- If there's no template_id given, use the defualt template.
|
-- If there's no template_id given, use the default template.
|
||||||
SELECT (CASE WHEN $13 = 0 THEN id ELSE $13 END) AS id FROM templates WHERE is_default IS TRUE
|
SELECT (CASE WHEN $13 = 0 THEN id ELSE $13 END) AS id FROM templates WHERE is_default IS TRUE
|
||||||
),
|
),
|
||||||
counts AS (
|
counts AS (
|
||||||
|
|
Loading…
Reference in a new issue