<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.start-tag
        {mso-style-name:start-tag;}
span.attribute-name
        {mso-style-name:attribute-name;}
span.attribute-value
        {mso-style-name:attribute-value;}
span.end-tag
        {mso-style-name:end-tag;}
span.entity
        {mso-style-name:entity;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Hi
Ken its me again:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Have
a look at share/html/Elements/ColumnMap<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>#
This is scary and should totally be refactored -- jesse<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>my
$COLUMN_MAP = {<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>   
id => {<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>       
attribute => 'id',<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>       
title    => 'id', # loc<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>       
align     => 'right',<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>       
value     => sub { return $_[0]->id }<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>   
},<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>You
will see the align = ‘right’, you can either remove the whole line
(I do n’t think it will break anything), or you can simply change the
right to left.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Restart
the web server and all should be fine.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>For
me I would remove the align line from there and do this via the css, not sure
which stylesheets you use, If its web2, look in ticket-lists.css for   <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>th.collection-as-table
, td.collection-as-table {<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'> padding-right:
0.5em;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>}<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>And
add text-align: left; in between {}<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>This
in theory will apply it to all fields within CollectionList.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Regards;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Roy<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] <b>On Behalf Of </b>Kenneth
Crocker<br>
<b>Sent:</b> 18 October 2010 22:32<br>
<b>To:</b> rt-users@lists.bestpractical.com<br>
<b>Subject:</b> Re: [rt-users] Another Query question: justification of data<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Ruslan,<br>
<br>
I can't seem to get that to work. What I REALLY want to do is have ALL Search
results align the Ticket ID to the left. I know most people want a field
defined as "Number" to align to the right. But Ticket ID is never
used in arithmetic expressions so there's no reason to treat it like any other
character field and align it to the left or the center. Otherwise, it looks way
out of alignment. When I look at the source code generated for the results, I
get:<br>
<span style='font-size:13.5pt'><br>
<br>
</span><o:p></o:p></p>

<pre><span style='font-size:13.5pt'><<span class=start-tag>td</span><span
class=attribute-name> class</span>=<span class=attribute-value>"collection-as-table" </span><span
class=attribute-name>align</span>=<span class=attribute-value>"right"</span>><<span
class=start-tag>b</span>><<span class=start-tag>a</span><span
class=attribute-name> href</span>="<a
href="view-source:https://rtqt.lbl.gov/Ticket/Display.html?id=85141">/Ticket/Display.html?id=85141</a>">85141</<span
class=end-tag>a</span>></<span class=end-tag>b</span>></<span
class=end-tag>td</span>><br>
<br>
<o:p></o:p></span></pre><pre><span style='font-size:13.5pt'><<span
class=start-tag>td</span><span class=attribute-name> class</span>=<span
class=attribute-value>"collection-as-table" </span>><<span
class=start-tag>b</span>><<span class=start-tag>a</span><span
class=attribute-name> href</span>="<a
href="view-source:https://rtqt.lbl.gov/Ticket/Display.html?id=85141">/Ticket/Display.html?id=85141</a>">Develop Admin Queries &<span
class=entity>#38;</span> Dashboards for EHS Queues</<span class=end-tag>a</span>></<span
class=end-tag>b</span>></<span class=end-tag>td</span>><br>
<br>
<o:p></o:p></span></pre><pre id=line988><span style='font-size:13.5pt'><<span
class=start-tag>td</span><span class=attribute-name> class</span>=<span
class=attribute-value>"collection-as-table" </span>>TSG-RT</<span
class=end-tag>td</span>><br>
<br>
<o:p></o:p></span></pre><pre><span style='font-size:13.5pt'><<span
class=start-tag>td</span><span class=attribute-name> class</span>=<span
class=attribute-value>"collection-as-table" </span>><a
href="mailto:CPeach@lbl.gov">CPeach@lbl.gov</a></<span class=end-tag>td</span>><br>
<br>
<o:p></o:p></span></pre><pre><span style='font-size:13.5pt'><<span
class=start-tag>td</span><span class=attribute-name> class</span>=<span
class=attribute-value>"collection-as-table" </span>>3</<span
class=end-tag>td</span>><br>
<<span class=start-tag>td</span><span class=attribute-name> class</span>=<span
class=attribute-value>"collection-as-table" </span>>new</<span
class=end-tag>td</span>><br>
<br>
<o:p></o:p></span></pre><pre><span style='font-size:13.5pt'><<span
class=start-tag>td</span><span class=attribute-name> class</span>=<span
class=attribute-value>"collection-as-table" </span>>Requested</<span
class=end-tag>td</span>><br>
<<span class=start-tag>td</span><span class=attribute-name> class</span>=<span
class=attribute-value>"collection-as-table" </span>>KFCrocker</<span
class=end-tag>td</span>><br>
<br>
<o:p></o:p></span></pre><pre><span style='font-size:13.5pt'><<span
class=start-tag>td</span><span class=attribute-name> class</span>=<span
class=attribute-value>"collection-as-table" </span>>2010-09-10</<span
class=end-tag>a</span>></<span class=end-tag>b</span>></<span
class=end-tag>td</span>></span><br>
<br>
<o:p></o:p></pre><pre><o:p> </o:p></pre>

<p class=MsoNormal style='margin-bottom:12.0pt'>So it looks to me like
something it automatically inserting "align=right" in the
"collection-as-table". I went to main.css and tried  changing
"ticket-lists.css" and put a change in it (text-align: left;) for the
td label and it seems to get overridden. Do you know where the code is that
overrides "ticket-lists.css" so I can change that behavior?<br>
<br>
Thanks.<br>
<br>
Kenn<br>
LBNL<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal>On Mon, Oct 18, 2010 at 12:50 PM, Ruslan Zakirov <<a
href="mailto:ruz@bestpractical.com">ruz@bestpractical.com</a>> wrote:<o:p></o:p></p>

<p class=MsoNormal>Hi,<br>
<br>
Use "/ALIGN:..." in a format string.<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
On Sat, Oct 16, 2010 at 12:27 AM, Kenneth Crocker <<a
href="mailto:kfcrocker@lbl.gov">kfcrocker@lbl.gov</a>> wrote:<br>
> To List,<br>
><br>
> I noticed that when I run a query, the Ticket number seems to be justified<br>
> to the right of it's column, but Priority Subject, and others are
justified<br>
> left. Does anyone know why? Does anyone know how to change that?<br>
><br>
> Kenn<br>
> LBNL<br>
><br>
><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>> RT Training in Washington DC, USA on Oct 25 & 26
2010<br>
> Last one this year -- Learn how to get the most out of RT!<br>
><br>
<span style='color:#888888'><br>
<br>
<br>
--<br>
Best regards, Ruslan.</span><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</div>

</body>

</html>