diff --git a/WHATSNEW.md b/WHATSNEW.md index 3b3e4fdd5bf2a9b1a1d093c4c04eb59c5bba6d6c..d94067f3bc38d3bddeada363298550537350d590 100644 --- a/WHATSNEW.md +++ b/WHATSNEW.md @@ -22,6 +22,7 @@ osTicket v1.8.6 * Fix corruption of email mailbox if improperly encoded as ISO-8859-1 without RFC 2047 charset hint (#1332) * Fix occasional MySQL Commands OOS error from ORM (#1334) + * Dashboard statistics should use 'period' as the date limiter (#1345) ### Performance and Security * Fix XSS vulnerability in email template management (#1162, #1163) diff --git a/scp/js/dashboard.inc.js b/scp/js/dashboard.inc.js index ba19235f12ec5198cb2c074bc083f37b1344ed4d..f0187d90f75da340f830fedcc63b4908e2272dce 100644 --- a/scp/js/dashboard.inc.js +++ b/scp/js/dashboard.inc.js @@ -140,7 +140,7 @@ method: 'GET', dataType: 'json', url: 'ajax.php/report/overview/table', - data: {group: group, start: start, stop: stop}, + data: {group: group, start: start, period: stop}, success: function(json) { var q = $('<table>').attr({'class':'table table-condensed table-striped'}), h = $('<tr>').appendTo($('<thead>').appendTo(q)),