[rt-users] Show updated tickets

Ben Robson benr at tlcdatasecurity.com.au
Tue Jul 17 11:04:34 EDT 2007


I thought I might Bump my question in case it got lost in the weekend
mail.  J

 

BenR

p.s. apologies for the signature, I am trying to get that appendage
changed.  ;-)

 

From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Ben
Robson
Sent: Saturday, 14 July 2007 4:00 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Show updated tickets

 

Greetings.

 

I am attempting to work out how to highlight tickets in searches that
were last updated by someone other than the owner.

 

So far I have defined css components called .updatedoddline and
.updatedevenline and have also worked out I need to put a test statement
around "$m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ?
'oddline' : 'evenline' ) . '" >' );" in
<foobar>/Elements/CollectionAsTable/Row

 

In pseudo-code what I think I need to wrap around this line (and
similarly with the later line) is:

 

If ($SearchResult->Owner ne $SearchResult->LastUpdatedBy) {

$m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ?
'updatedoddline' : updated'evenline' ) . '" >' );

} else {

                $m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2
? 'oddline' : 'evenline' ) . '" >' );

}

 

But what I can't work out is the right syntax/code for
"$SearchResult->Owner" and "$SearchResult->LastUpdatedBy" for the test.

 

Does anyone have any tips for me?

 

Thanks,

BenR

 

****** Internet + Voice + Telephony + IT Services + Hardware/Software
******
February 2007 - Systems integration company TLC IT's product / services
expansion is complete, with the introduction of Voice and Internet
services
rounding out their Juniper Elite Security Partnership, Avaya Telephony
and 
traditional IT Infrastructure support services.
"With the expansion of our business into Telephony and Security over the
past 18
months, it made perfect sense to introduce Voice and Data services"
stated
Managing Director Alan Champan.  "Clients want a single point of contact
or more
importantly a single point of responsibility when it comes to managing
all these
services, our client enjoy not only the benefits of dealing with one
organisation, but also cost savings by combining all these services,
both in
management and direct product costs, it is a win / win situation."
TLC IT is set to become one of the largest IT & T organisations in
Australia,
for further information on our services visit www.tlcit.biz or call 03
9922 0000
 
The information contained in this communication is intended solely for
the use of
the individual or entity to whom it is addressed and others authorised
to receive
it.  It may contain confidential or legally privileged information.  If
you are
not the intended recipient you are hereby notified that any disclosure,
copying,
distribution or taking any action in reliance on the contents of this
information
is strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify us immediately by responding to
this email
and then delete it, and any associated attachments, from your system.
Thank you.
****** Internet + Voice + Telephony + IT Services + Hardware/Software ******
February 2007 - Systems integration company TLC IT's product / services
expansion is complete, with the introduction of Voice and Internet services
rounding out their Juniper Elite Security Partnership, Avaya Telephony and 
traditional IT Infrastructure support services.
"With the expansion of our business into Telephony and Security over the past 18
months, it made perfect sense to introduce Voice and Data services" stated
Managing Director Alan Champan.  "Clients want a single point of contact or more
importantly a single point of responsibility when it comes to managing all these
services, our client enjoy not only the benefits of dealing with one
organisation, but also cost savings by combining all these services, both in
management and direct product costs, it is a win / win situation."
TLC IT is set to become one of the largest IT & T organisations in Australia,
for further information on our services visit www.tlcit.biz or call 03 9922 0000

The information contained in this communication is intended solely for the use of
the individual or entity to whom it is addressed and others authorised to receive
it.  It may contain confidential or legally privileged information.  If you are
not the intended recipient you are hereby notified that any disclosure, copying,
distribution or taking any action in reliance on the contents of this information
is strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify us immediately by responding to this email
and then delete it, and any associated attachments, from your system.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070718/09c46ad4/attachment.htm>


More information about the rt-users mailing list