Skip to content

Commit 808f2ab

Browse files
authored
Fix(TicketBySLA): fix missing delay to Where clause (#298)
* Fix(TicketBySLA): fix missing delay to Where clause * adapt changelog
1 parent a37c18c commit 808f2ab

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Fixed
1111

12+
- Fix missing `delay` to where clause
1213
- Fix weekly backlog calculation using wrong week reference point (#294)
1314
- Fix the SQL query for the backlog graph (#290)
1415

inc/helpdeskplus.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,7 @@ public function reportGlineNbTicketBySla($config = [])
998998
],
999999
'GROUPBY' => [SLA::getTable() . '.name', 'period', 'respected_sla'],
10001000
];
1001+
$query['WHERE']['AND'] = $delay;
10011002

10021003
$result = $DB->request($query);
10031004
foreach ($result as $data) {

0 commit comments

Comments
 (0)