diff options
author | myk%mozilla.org <> | 2004-01-26 15:58:26 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2004-01-26 15:58:26 +0000 |
commit | 4240beaecf37f8e4ed7e977810b1b1e63e4341fd (patch) | |
tree | 81ada1378a31ddd7fab169401978e9c142947f9f /buglist.cgi | |
parent | Fix for bug 232140: makes tests work on b.m.o by making BugMail.pm use Bugzil... (diff) | |
download | bugzilla-4240beaecf37f8e4ed7e977810b1b1e63e4341fd.tar.gz bugzilla-4240beaecf37f8e4ed7e977810b1b1e63e4341fd.tar.bz2 bugzilla-4240beaecf37f8e4ed7e977810b1b1e63e4341fd.zip |
Fix for bug 232154: Make old column lists work again by correctly translating old -> new column names.
r=bbaetz
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/buglist.cgi b/buglist.cgi index 116e2ea75..916c29c4b 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -436,13 +436,13 @@ if (defined $params->param('columnlist')) { elsif (defined $::COOKIE{'COLUMNLIST'}) { # 2002-10-31 Rename column names (see bug 176461) my $columnlist = $::COOKIE{'COLUMNLIST'}; - $columnlist =~ s/owner/assigned_to/; - $columnlist =~ s/owner_realname/assigned_to_realname/; - $columnlist =~ s/[^_]platform/rep_platform/; - $columnlist =~ s/[^_]severity/bug_severity/; - $columnlist =~ s/[^_]status\b/bug_status/; - $columnlist =~ s/summaryfull/short_desc/; - $columnlist =~ s/summary/short_short_desc/; + $columnlist =~ s/\bowner\b/assigned_to/; + $columnlist =~ s/\bowner_realname\b/assigned_to_realname/; + $columnlist =~ s/\bplatform\b/rep_platform/; + $columnlist =~ s/\bseverity\b/bug_severity/; + $columnlist =~ s/\bstatus\b/bug_status/; + $columnlist =~ s/\bsummaryfull\b/short_desc/; + $columnlist =~ s/\bsummary\b/short_short_desc/; # Use the columns listed in the user's preferences. @displaycolumns = split(/ /, $columnlist); |