Skip to content
Snippets Groups Projects
Commit 4f15fe3d authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

Merge branch 'dev' into 'master'

fix metrics tagging limiting by total check dates

See merge request !398
parents d0d86d66 2a257c96
No related branches found
No related tags found
1 merge request!398fix metrics tagging limiting by total check dates
......@@ -125,7 +125,7 @@ with audits as (
from (
select aa.manuscript_id, aa.manuscript_version, ab.sent, aa.created, generate_series(ab.sent, aa.created - '1 day'::interval, '1 day'::interval) as date_range
from (
select * from tag_audits at
select at.manuscript_id, at.manuscript_version, at.created from tag_audits at
where at.created between date_trunc('month', current_date AT TIME ZONE 'Europe/London' - '${endMonth} month'::interval) and date_trunc('month', current_date AT TIME ZONE 'Europe/London' - '${startMonth -
1} month'::interval)
union
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment