Feature request: Add "Spam" status
Posted: Sun Dec 15, 2024 10:39 am
.
A "Spam" status that will be treated as closed in ticket lists would be useful.
I've solved 99% with the following approach;
- Added "Spam" as a custom status.
- Added the following line to print_tickets.inc.php, line 240;
(6 is the id of the custom status)
The 1% missing is that "Some open tickets you have access to are not shown due to your filters" shows up. Does not bother me enough to try to fix.
A "Spam" status that will be treated as closed in ticket lists would be useful.
I've solved 99% with the following approach;
- Added "Spam" as a custom status.
- Added the following line to print_tickets.inc.php, line 240;
(6 is the id of the custom status)
Code: Select all
// If no statuses selected, show default (all except RESOLVED)
if ($tmp == 0)
{
$status = $hesk_settings['statuses'];
unset($status[3]);
unset($status[6]); // ADDED BY CEGRI; SPAM
}