Fix missing rows
This commit is contained in:
parent
b8904ccfac
commit
ef5d744209
@ -5,7 +5,8 @@ WITH x AS (
|
|||||||
app.get_item('$PAGE_ID') AS page_id,
|
app.get_item('$PAGE_ID') AS page_id,
|
||||||
app.get_item('$USER_ID') AS user_id,
|
app.get_item('$USER_ID') AS user_id,
|
||||||
app.get_item('$SESSION_ID') AS session_id,
|
app.get_item('$SESSION_ID') AS session_id,
|
||||||
TRUNC(app.get_date_item('$TODAY')) AS today
|
--
|
||||||
|
TRUNC(COALESCE(app.get_date_item('$TODAY'), app.get_date_item('G_TODAY'), SYSDATE)) AS today
|
||||||
FROM users u
|
FROM users u
|
||||||
WHERE u.user_id = app.get_user_id()
|
WHERE u.user_id = app.get_user_id()
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user