mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Better scaling metrics reporting
This commit is contained in:
parent
3f94187bac
commit
d9b1a85122
@ -167,6 +167,7 @@ namespace Wabbajack.BuildServer.Model.Models
|
|||||||
AND DATEADD(DAY, number+1, dbo.MinMetricDate()) < dbo.MaxMetricDate()) as d
|
AND DATEADD(DAY, number+1, dbo.MinMetricDate()) < dbo.MaxMetricDate()) as d
|
||||||
ON m.Date = d.Date AND m.GroupingSubject = d.GroupingSubject AND m.Action = d.Action
|
ON m.Date = d.Date AND m.GroupingSubject = d.GroupingSubject AND m.Action = d.Action
|
||||||
WHERE d.Action = @action
|
WHERE d.Action = @action
|
||||||
|
AND d.Date >= DATEADD(month, -1, GETDATE())
|
||||||
group by d.Date, d.GroupingSubject, d.Action
|
group by d.Date, d.GroupingSubject, d.Action
|
||||||
ORDER BY d.Date, d.GroupingSubject, d.Action", new {Action = action}))
|
ORDER BY d.Date, d.GroupingSubject, d.Action", new {Action = action}))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
Loading…
Reference in New Issue
Block a user