<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Matthew Bogosian wrote:
<blockquote cite="mid:AAB20BA1-2F7E-46B1-8220-F22562588355@columbia.edu"
type="cite">
<pre wrap="">1. How do I use multiple source columns to create a single output column in buglist.cgi?
2. How do I format values after retrieval but before display in buglist.cgi (ideally using only hooks without modifying default templates)?</pre>
</blockquote>
something like this (untested):<br>
<br>
sub buglist_columns {<br>
my ($self, $args) = @_;<br>
my $columns = $args->{columns};<br>
$columns->{'env'} = {<br>
name => "CONCAT(rep_platform, ' (', op_sys, ')')",<br>
title => 'Env',<br>
};<br>
}<br>
<br>
you'll also need to add env to
template/en/default/hook/global/field-descs-end.none.tmpl:<br>
<br>
[% IF in_template_var %]<br>
[% vars.field_descs.env = "Env" %]<br>
[% END %]<br>
<br>
<br>
<div class="moz-signature">-- <br>
<span style="color: rgb(192, 192, 192);">byron - <a class="moz-txt-link-freetext" href="irc:glob">irc:glob</a> -
bugzilla.mozilla.org team -</span><br style="color: rgb(192, 192, 192);">
<br style="color: rgb(192, 192, 192);">
</div>
</body></html>