summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index bdda404a3..79504d635 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -612,6 +612,11 @@ my @selectnames = map($columns->{$_}->{'name'}, @selectcolumns);
if (!$order || $order =~ /^reuse/i) {
if ($cgi->cookie('LASTORDER')) {
$order = $cgi->cookie('LASTORDER');
+
+ # Cookies from early versions of Specific Search included this text,
+ # which is now invalid.
+ $order =~ s/ LIMIT 200//;
+
$order_from_cookie = 1;
}
else {