Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
b8a79ce2
Commit
b8a79ce2
authored
Jan 23, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If no sort order is specified, use the cookie if available.
parent
69c4be2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
buglist.cgi
buglist.cgi
+6
-2
No files found.
buglist.cgi
View file @
b8a79ce2
...
...
@@ -550,10 +550,14 @@ foreach my $f ("short_desc", "long_desc", "bug_file_loc",
$query
.=
"group by bugs.bug_id\n"
;
if
(
defined
$::FORM
{
'order'
}
&&
$::FORM
{
'order'
}
ne
""
)
{
if
(
$::COOKIE
{
'LASTORDER'
}
&&
$::FORM
{
'order'
}
=~
/^reuse/i
)
{
if
(
$::COOKIE
{
'LASTORDER'
}
)
{
if
(
(
!
$::FORM
{
'order'
})
||
$::FORM
{
'order'
}
=~
/^reuse/i
)
{
$::FORM
{
'order'
}
=
url_decode
(
$::COOKIE
{
'LASTORDER'
});
}
}
if
(
defined
$::FORM
{
'order'
}
&&
$::FORM
{
'order'
}
ne
""
)
{
$query
.=
"order by "
;
$::FORM
{
'order'
}
=~
s/votesum/bugs.votes/
;
# Silly backwards compatability
# hack.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment