[rt-users] Keywords in queue listings again

billp billp at wjp.net
Wed Aug 21 20:44:50 EDT 2002


Yup, that was the additional mod I was looking for.  Looks great.

Only caveat: If your keyword can have multiple selections, it will
only display one of them in the queue listing.  Fortunately, all
KeywordSelects I want to display are single select only.

thanks!!
bill

On Wed, Aug 21, 2002 at 05:30:29PM -0700, Colleen wrote:
> Try this, in that same subroutine in Keyword.pm
> 
> 
> sub RelativePath {
>     my $self = shift;
>     my $OtherKey = shift;
> 
>     my $OtherPath = ref($OtherKey) ? $OtherKey->Path() : $OtherKey;
> # my $OtherPath = $OtherKey;
>     my $MyPath = $self->Path;
>     $MyPath =~ s/^$OtherPath\///g;
>     return ($MyPath);
> }




More information about the rt-users mailing list