Dirk,

Thanks for this.

I have had a go at making this work and I am finding that Mason seems to
be reporting errors within the ColumnMap.obj file:

<...snip...>
my ( $COLUMN_MAP );
{
    my %pos;
    for ( my $x = 0; $x < @_; $x += 2 )
    {
        $pos{ $_[$x] } = $x + 1;
    }
#line 2
/opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/ColumnMap/
ColumnMap
     $COLUMN_MAP = exists $pos{'COLUMN_MAP'} ? $_[ $pos{'COLUMN_MAP'} ]
:  undef;
}
$m->debug_hook( $m->current_comp->path ) if (
HTML::Mason::Compiler::IN_PERL_DB() );

#line 4
/opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/ColumnMap/
ColumnMap

if ($COLUMN_MAP) {
  $COLUMN_MAP->{'luid'} = {
<...snip...>


Mason is a world of voodoo I have yet to get a handle on and as such I
have no idea what it's crying about.  What I do know is that I see no
tangible changes within the Search options.  :(

Are you able to point me in a direction to fix this?

Thanks,
BenR



-----Original Message-----
From: Dirk Pape [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 18 July 2007 1:46 AM
To: Ben Robson; [email protected]
Subject: RE: [rt-users] Show updated tickets

Hello Ben,

--Am 18. Juli 2007 01:04:34 +1000 schrieb Ben Robson
<[EMAIL PROTECTED]>:

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

we do so here by using attached Callback in

/path/to/rt/local/html/Callbacks/MI/Elements/RT__Ticket/ColumnMap/Column
Map

this enables a column "luid" which can be used instead of "id" in layout
specification of a search. We than modified the standard search for
"Ticket I own" (root has to do this) to use luid instead of id as column
(see screenshot). You can customize colour by implementing the css.

We also use "openid" instead of "id" in search "Unowned Tickets" because
we hate already opened Tickets which are still unowned.

Regards,
Dirk.

--
Dr. Dirk Pape (eAS - Projektleitung Campus Management) Freie
Universitaet Berlin Grunewaldstr. 34a, 12165 Berlin Tel. +49 (0)30 838
75143, Fax. +49 (0)30 838 54654
****** 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.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to