Re: [rt-users] RT Query - how to display last comment

2010-12-13 Thread Kenneth Crocker
Ruslan,

Would this be the correct code:

Comment = {
title = 'Comment', # last comment
attribute = 'Comment',
value = sub { return $_[0]-TransObj-Id( $_[0]-id
)-Field('Type')-Value('Comment') }
},


Thanks.

Kenn
LBNL

On Sun, Dec 12, 2010 at 6:13 AM, Ruslan Zakirov r...@bestpractical.comwrote:

 Hi,

 If you mean search results and thier format strings then there is no
 such column map, but it's possible to add. Look at
 share/html/Elements/RT__Ticket/ColumnMap.

 On Sat, Dec 11, 2010 at 1:44 AM, Kenneth Crocker kfcroc...@lbl.gov
 wrote:
  To List,
 
  Does anyone know how to get the last comment on a ticket to display in a
  Query? I can get it in a template, but it doesn't seem available in a
 Query.
 
  Kenn
  LBNL
 



 --
 Best regards, Ruslan.



Re: [rt-users] RT Query - how to display last comment

2010-12-12 Thread Ruslan Zakirov
Hi,

If you mean search results and thier format strings then there is no
such column map, but it's possible to add. Look at
share/html/Elements/RT__Ticket/ColumnMap.

On Sat, Dec 11, 2010 at 1:44 AM, Kenneth Crocker kfcroc...@lbl.gov wrote:
 To List,

 Does anyone know how to get the last comment on a ticket to display in a
 Query? I can get it in a template, but it doesn't seem available in a Query.

 Kenn
 LBNL




-- 
Best regards, Ruslan.


[rt-users] RT Query - how to display last comment

2010-12-10 Thread Kenneth Crocker
To List,

Does anyone know how to get the last comment on a ticket to display in a
Query? I can get it in a template, but it doesn't seem available in a Query.

Kenn
LBNL