Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- CI: fix Psalm cache directory, drop the stray `glpi-project/tools` composer dependency, declare a unique composer autoloader suffix
- Profile rights to reports are no longer reset to "no access" each time the plugin is installed or updated
- "Tickets per technician" report now applies the selected date interval

## [1.10.3] - 2026-09-28

Expand Down
3 changes: 3 additions & 0 deletions inc/helpdeskplus.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,8 @@ public function reportVstackbarTicketstech($config = [])
$_SESSION['mreporting_values']['date2' . $config['randname']] = date('Y-m-d');
}

$delay = PluginMreportingCommon::getCriteriaDate('glpi_tickets.date', $config['delay'], $config['randname']);

foreach ($this->status as $current_status) {
if ($_SESSION['mreporting_values']['status_' . $current_status] == '1') {
$status_name = Ticket::getStatus($current_status);
Expand Down Expand Up @@ -629,6 +631,7 @@ public function reportVstackbarTicketstech($config = [])
'GROUPBY' => ['name'],
'ORDER' => ['name'],
];
$query['WHERE']['AND'] = $delay;

$result = $DB->request($query);
foreach ($result as $data) {
Expand Down
Loading