summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-07-26 08:31:27 +0200
committerlpsolit%gmail.com <>2006-07-26 08:31:27 +0200
commit82ade31e91fcc0bb83980a68bc605b0e7e0be453 (patch)
treec1b1de060f770fbdf4cc35054a698ac43201c264
parente2efa454e11ff26155cab6c866b03ae164cd2d1d (diff)
downloadbugzilla-82ade31e91fcc0bb83980a68bc605b0e7e0be453.tar.gz
bugzilla-82ade31e91fcc0bb83980a68bc605b0e7e0be453.tar.xz
Bug 343752: The 'order' field in buglist.cgi is not properly parsed when using aliases - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=myk
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 882a29777..aacf6a466 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -863,7 +863,7 @@ foreach my $fragment (split(/,/, $order)) {
# LASTORDER cookies (or bookmarks) may contain full names.
# Convert them to an ID here.
if ($fragment =~ / AS (\w+)/) {
- $fragment = $columns->{$1}->{'id'};
+ $fragment = $1;
}
$fragment =~ tr/a-zA-Z\.0-9\-_//cd;