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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
58de3fae
Commit
58de3fae
authored
Nov 10, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 179184 - regetlastlist returns all bugs
r=gerv, a=justdave
parent
3423b0f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
buglist.cgi
buglist.cgi
+15
-5
No files found.
buglist.cgi
View file @
58de3fae
...
...
@@ -110,14 +110,21 @@ my $serverpush =
my
$order
=
$::FORM
{
'order'
}
||
""
;
my
$order_from_cookie
=
0
;
# True if $order set using $::COOKIE{'LASTORDER'}
# The params object to use for the actual query itself
my
$params
;
# If the user is retrieving the last bug list they looked at, hack the buffer
# storing the query string so that it looks like a query retrieving those bugs.
if
(
$::FORM
{
'regetlastlist'
})
{
$::COOKIE
{
'BUGLIST'
}
||
ThrowUserError
(
"missing_cookie"
);
$::FORM
{
'bug_id'
}
=
join
(
","
,
split
(
/:/
,
$::COOKIE
{
'BUGLIST'
}));
$order
=
"reuse last sort"
unless
$order
;
$::buffer
=
"bug_id=$::FORM{'bug_id'}&order="
.
url_quote
(
$order
);
# set up the params for this new query
$params
=
new
Bugzilla::
CGI
({
bug_id
=>
[
split
(
/:/
,
$::COOKIE
{
'BUGLIST'
})],
order
=>
$order
,
});
}
if
(
$::buffer
=~
/&cmd-/
)
{
...
...
@@ -229,9 +236,12 @@ if ($::FORM{'cmdtype'} eq "runnamed") {
$::FORM
{
'remaction'
}
=
"run"
;
}
# The params object to use for the actual query itsself
# This will be modified, so make a copy
my
$params
=
new
Bugzilla::
CGI
(
$cgi
);
# Now we're going to be running, so ensure that the params object is set up,
# using ||= so that we only do so if someone hasn't overridden this
# earlier, for example by setting up a named query search.
# This will be modified, so make a copy.
$params
||=
new
Bugzilla::
CGI
(
$cgi
);
# Take appropriate action based on user's request.
if
(
$::FORM
{
'cmdtype'
}
eq
"dorem"
)
{
...
...
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