summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authormyk%mozilla.org <>2004-01-26 16:58:26 +0100
committermyk%mozilla.org <>2004-01-26 16:58:26 +0100
commit4240beaecf37f8e4ed7e977810b1b1e63e4341fd (patch)
tree81ada1378a31ddd7fab169401978e9c142947f9f /buglist.cgi
parentf4f5c47ea31a8a257b48c415b928db03071c475c (diff)
downloadbugzilla-4240beaecf37f8e4ed7e977810b1b1e63e4341fd.tar.gz
bugzilla-4240beaecf37f8e4ed7e977810b1b1e63e4341fd.tar.xz
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-xbuglist.cgi14
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);