fix(analyticsApi): added error_count to initAggregateCount
Build and Push Docker image / build-and-push (push) Successful in 2m17s
Details
Build and Push Docker image / build-and-push (push) Successful in 2m17s
Details
This commit is contained in:
parent
099026cd9f
commit
adc60e9960
|
@ -285,7 +285,7 @@ func initAggregateCount(app *pocketbase.PocketBase, e *core.ServeEvent) {
|
|||
IFNULL(` + field + `, 'N/A') as value,
|
||||
COUNT(id) AS count,
|
||||
SUM(CASE WHEN error IS NOT NULL THEN 1 ELSE 0 END) AS error_count
|
||||
FROM analyticsSessions
|
||||
FROM analyticsPageViewsWithSessionDetail
|
||||
WHERE created >= {:startDate}
|
||||
GROUP BY ` + field).
|
||||
Bind(dbx.Params{
|
||||
|
|
Loading…
Reference in New Issue