<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">thanks for the hint, but it doesn't
work as expected.</font>
<br><font size=2 face="sans-serif">In fact, in the advanced page, the fileds
used are :</font>
<br><font size=2 face="sans-serif">'__DependsOn__',</font>
<br><font size=2 face="sans-serif">'__Children__'</font>
<br><font size=2 face="sans-serif">each of them is, by default, creating
by itself a List of clickable ticket IDs, and i'd like to add subject and
formatting.</font>
<br>
<br><font size=2 face="sans-serif">Also, in /share/html/Elements/RT__Ticket/ColumnMap,
i can see that the 'ExtendedStatus' is doing some query for dependedon
tickets, so i can try to do something similar, but i can't find the same
things for 'Children' or 'DependsOn'</font>
<br>
<br><font size=2 face="sans-serif">If someone can point me at the sourcecode
trigered by the above fields, i could change it to suit my needs</font>
<br>
<br><font size=2 face="sans-serif">thank you,</font>
<br><font size=2 face="sans-serif"><br>
Raphaël MOUNEYRES<br>
</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Gerard FENELON <gerard@eve-team.com></b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : rt-users-bounces@lists.bestpractical.com</font>
<p><font size=1 face="sans-serif">09/08/2011 12:17</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">RT Users Mailing List <rt-users@lists.bestpractical.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [rt-users] adding Ticket links in
search result</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=3>Hi Raphael<br>
<br>
keep to the list.<br>
In particular because I don't have the answer to this further question.<br>
<br>
I have never tried anything like what you are trying.<br>
It is possible that for this you might have to use a ColumnMap<br>
<br>
However concerning </font></tt><tt><font size=2>"display the Ticket
subject next to his number</font></tt><tt><font size=3>"<br>
I believe that '__id__ __Subject__ ' should work.<br>
<br>
Gerard<br>
<br>
<br>
On 2011-08-09 11:28, Raphaël MOUNEYRES wrote:</font></tt><font size=3>
</font>
<br><tt><font size=2><br>
Hi Gerard,</font></tt><font size=3> </font><tt><font size=3><br>
</font></tt><tt><font size=2><br>
i've tried some but i'm not sure to be able to do conditional formatting
such as :</font></tt><font size=3> </font><tt><font size=2><br>
% my $inactive = $member->QueueObj->IsInactiveStatus($member->Status);</font></tt><font size=3>
</font><tt><font size=2><br>
<span class="<% $inactive ? 'ticket-inactive'
: '' %>"></font></tt><font size=3> </font><tt><font size=2><br>
<%$member->Id%>: (<%$member->OwnerObj->Name%>)
<%$member->Subject%> [<% loc($member->Status) %>]</font></tt><font size=3>
</font><tt><font size=2><br>
</span></font></tt><font size=3> </font><tt><font size=3><br>
</font></tt><tt><font size=2><br>
for example, if i do <br>
' <b><a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#',<br>
'<span class="ticket-inactive">__Children__</span>'</font></tt><font size=3>
</font><tt><font size=2><br>
for sure all children tickets are displayed as ticket-inactive, but not
depending on their actual status...</font></tt><font size=3> </font><tt><font size=3><br>
</font></tt><tt><font size=2><br>
Also i'd like to display the Ticket subject next to his number....</font></tt><font size=3>
</font><tt><font size=2><br>
Well i'm doing more experiments now, but any other hints are welcome.</font></tt><font size=3>
</font><tt><font size=2><br>
<br>
Raphaël MOUNEYRES</font></tt><tt><font size=3><br>
<br>
<br>
</font></tt>
<table width=100%>
<tr valign=top>
<td width=48%><tt><font size=1><b>Gerard FENELON </b></font></tt><a href="mailto:gerard@eve-team.com"><tt><font size=1 color=blue><b><u><gerard@eve-team.com></u></b></font></tt></a><tt><font size=1>
<br>
Envoyé par : </font></tt><a href="mailto:rt-users-bounces@lists.bestpractical.com"><tt><font size=1 color=blue><u>rt-users-bounces@lists.bestpractical.com</u></font></tt></a><font size=3>
</font>
<p><tt><font size=1>09/08/2011 11:08</font></tt><font size=3> </font>
<td width=51%>
<br>
<table width=100%>
<tr valign=top>
<td width=9%>
<div align=right><tt><font size=1>A</font></tt></div>
<td width=90%><a href="mailto:rt-users@lists.bestpractical.com"><tt><font size=1 color=blue><u>rt-users@lists.bestpractical.com</u></font></tt></a><font size=3>
</font>
<tr valign=top>
<td>
<div align=right><tt><font size=1>cc</font></tt></div>
<td>
<tr valign=top>
<td>
<div align=right><tt><font size=1>Objet</font></tt></div>
<td><tt><font size=1>Re: [rt-users] adding Ticket links in search result</font></tt></table>
<br></table>
<br><tt><font size=3><br>
<br>
<br>
Hello<br>
<br>
you can do a lot of things in the advanced tab of the search interface<br>
such as<br>
<br>
'<b><a href="/Ticket/Modify.html?id=__id__">__id__</a></b>/TITLE:#',<br>
'<span class="yoyodine-status-__StatusNoLoc__">__ExtendedStatus__</span>',<br>
'<span class="yoyodine-severity-__CustomField.{Severity}__">__CustomField.{Severity}__</span>',<br>
'<span class="yoyodine-priority-__CustomField.{Customer priority}__">__CustomField.{Customer
priority}__</span>',<br>
<br>
I would say, use this when you want to tweek the display.<br>
Use ColumnMap when you have to calculate values<br>
<br>
Gerard<br>
<br>
<br>
On 2011-08-09 10:48, Raphaël MOUNEYRES wrote: </font></tt><tt><font size=2><br>
Hello,</font></tt><tt><font size=3> </font></tt><tt><font size=2><br>
<br>
i'm trying to build a search wich would have a colum displaying the tickets
links exactly the same way as is TicketDisplay page (with 3.8 install)</font></tt><tt><font size=3>
</font></tt><tt><font size=2><br>
I found two things :</font></tt><tt><font size=3> </font></tt><tt><font size=2><br>
- this code related to the above page is in /opt/rt3/share/html/Elements/ShowLinks</font></tt><tt><font size=3>
</font></tt><tt><font size=2><br>
- in ticket search engine, i can display children/DependsOn links, but
the result will only show ticket ids without formatting.</font></tt><tt><font size=3>
</font></tt><tt><font size=2><br>
<br>
Should i create a new ColumnMap (as recently discussed) pasting some code
from the ShowLinks File, or any simpler way to modify the existing colums
?</font></tt><tt><font size=3> </font></tt><tt><font size=2><br>
Could someone help me choose the best way to go ?</font></tt><tt><font size=3>
</font></tt><tt><font size=2><br>
<br>
After a few month dealing with RT, i've been gaining some perl programming
experience, thanks guys !</font></tt><tt><font size=3> </font></tt><tt><font size=2><br>
<br>
Raphaël MOUNEYRES</font></tt><font size=3> </font>
<br><tt><font size=2><br>
--------<br>
2011 Training: </font></tt><a href=http://bestpractical.com/services/training.html><tt><font size=2>http://bestpractical.com/services/training.html</font></tt></a>
<br><PRE>#
" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont
pas destinés, nous vous signalons qu'il est strictement interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
soit le contenu. Si ce message vous a été transmis par erreur, merci d'en
informer l'expéditeur et de supprimer immédiatement de votre système
informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."
#
</PRE>