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
5414dfb9
Commit
5414dfb9
authored
Jul 12, 2004
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 250881: Do not set DEFAULT-FORMAT unless standard search is being used
patch by glob r,a=justdave
parent
e06f5266
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
query.cgi
query.cgi
+3
-2
No files found.
query.cgi
View file @
5414dfb9
...
...
@@ -410,8 +410,9 @@ if (!($cgi->param('query_format') || $cgi->param('format'))) {
}
}
# Set cookie from format unless it's a report
if
(
$vars
->
{
'format'
}
!~
/^report-/i
)
{
# Set cookie to current format as default, but only if the format
# one that we should remember.
if
(
grep
{
$_
eq
$vars
->
{
'format'
}
}
qw(specific advanced)
)
{
$cgi
->
send_cookie
(
-
name
=>
'DEFAULTFORMAT'
,
-
value
=>
$vars
->
{
'format'
},
-
expires
=>
"Fri, 01-Jan-2038 00:00:00 GMT"
);
...
...
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