Skip to content
Snippets Groups Projects
Commit 2b1facd3 authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #1345 from mattkirman/statistics-use-period


Dashboard statistics should use 'period' as the date limiter

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents d6db1f5e c1abffd7
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
method: 'GET', method: 'GET',
dataType: 'json', dataType: 'json',
url: 'ajax.php/report/overview/table', url: 'ajax.php/report/overview/table',
data: {group: group, start: start, stop: stop}, data: {group: group, start: start, period: stop},
success: function(json) { success: function(json) {
var q = $('<table>').attr({'class':'table table-condensed table-striped'}), var q = $('<table>').attr({'class':'table table-condensed table-striped'}),
h = $('<tr>').appendTo($('<thead>').appendTo(q)), h = $('<tr>').appendTo($('<thead>').appendTo(q)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment