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
8f893f4d
Commit
8f893f4d
authored
Mar 31, 2006
by
wurblzap%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 306695: Boolean charts forgets "0" values.
Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, bugreport, a=justdave
parent
9fc0498b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CGI.pm
Bugzilla/CGI.pm
+1
-1
query.cgi
query.cgi
+5
-1
No files found.
Bugzilla/CGI.pm
View file @
8f893f4d
...
@@ -116,7 +116,7 @@ sub canonicalise_query {
...
@@ -116,7 +116,7 @@ sub canonicalise_query {
my
$esc_key
=
url_quote
(
$key
);
my
$esc_key
=
url_quote
(
$key
);
foreach
my
$value
(
$self
->
param
(
$key
))
{
foreach
my
$value
(
$self
->
param
(
$key
))
{
if
(
$value
)
{
if
(
defined
(
$value
)
)
{
my
$esc_value
=
url_quote
(
$value
);
my
$esc_value
=
url_quote
(
$value
);
push
(
@parameters
,
"$esc_key=$esc_value"
);
push
(
@parameters
,
"$esc_key=$esc_value"
);
...
...
query.cgi
View file @
8f893f4d
...
@@ -314,9 +314,13 @@ for (my $chart = 0; $cgi->param("field$chart-0-0"); $chart++) {
...
@@ -314,9 +314,13 @@ for (my $chart = 0; $cgi->param("field$chart-0-0"); $chart++) {
for
(
my
$row
=
0
;
$cgi
->
param
(
"field$chart-$row-0"
);
$row
++
)
{
for
(
my
$row
=
0
;
$cgi
->
param
(
"field$chart-$row-0"
);
$row
++
)
{
my
@cols
;
my
@cols
;
for
(
my
$col
=
0
;
$cgi
->
param
(
"field$chart-$row-$col"
);
$col
++
)
{
for
(
my
$col
=
0
;
$cgi
->
param
(
"field$chart-$row-$col"
);
$col
++
)
{
my
$value
=
$cgi
->
param
(
"value$chart-$row-$col"
);
if
(
!
defined
(
$value
))
{
$value
=
''
;
}
push
(
@cols
,
{
field
=>
$cgi
->
param
(
"field$chart-$row-$col"
),
push
(
@cols
,
{
field
=>
$cgi
->
param
(
"field$chart-$row-$col"
),
type
=>
$cgi
->
param
(
"type$chart-$row-$col"
)
||
'noop'
,
type
=>
$cgi
->
param
(
"type$chart-$row-$col"
)
||
'noop'
,
value
=>
$
cgi
->
param
(
"value$chart-$row-$col"
)
||
''
});
value
=>
$
value
});
}
}
push
(
@rows
,
\
@cols
);
push
(
@rows
,
\
@cols
);
}
}
...
...
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