|
From: Matthew C. G. <mi...@ci...> - 2001-08-06 18:20:25
|
I don't know if anyone has already posted this (I did search the list
archive), but here's an idea I saw mentioned in a 'what people are saying
email'.
It is nice to show people that you ARE doing things. I wanted to show the
number of tickets that were closed in the header.
First was the fact that the header Open count did not include Registered
tickets.
Here's what I did.
I edited functions.inc.php.
Ater:
$openTickets = 0;
$userTickets = 0;
I added.
$closedTickets = 0;
After:
print "Closed Tickets: $closedTickets<br>\n";
print "Open Tickets: $openTickets<br>\n";
I added.
print "Assigned to you: $userTickets<br>\n";
In the line
if( $prev_e_status == "OPEN" )
I added.
or $prev_e_status == "REGISTERED"
For a result of:
if( $prev_e_status == "OPEN" or $prev_e_status == "REGISTERED") {
At the end of this if statement, between the closing } and }, I added
else $closedTickets++;
For a result of:
}
else $closedTickets++;
}
Please forgive me if this has already been added or is way so obvious, but
since my search didn't find it, I figured I'd post it to the list so that a
newbie like myself could find it. Thanks.
Matt
mi...@ci...
|