Fix filters
This commit is contained in:
parent
b36b4d57d3
commit
2f82a7c2bb
@ -10,6 +10,7 @@ WITH s AS (
|
|||||||
AND (s.user_id = app.get_item('$USER_ID') OR app.get_item('$USER_ID') IS NULL)
|
AND (s.user_id = app.get_item('$USER_ID') OR app.get_item('$USER_ID') IS NULL)
|
||||||
--
|
--
|
||||||
AND s.created_at >= COALESCE(app.get_date_item('$TODAY'), TRUNC(SYSDATE))
|
AND s.created_at >= COALESCE(app.get_date_item('$TODAY'), TRUNC(SYSDATE))
|
||||||
|
AND s.created_at < COALESCE(app.get_date_item('$TODAY'), TRUNC(SYSDATE)) + 1
|
||||||
),
|
),
|
||||||
l AS (
|
l AS (
|
||||||
SELECT
|
SELECT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user