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
2bd074dc
Commit
2bd074dc
authored
Nov 13, 2009
by
ghendricks%novell.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 528262 - Tabular reports ignore disabled field values despite being selected
patch by ghendricks@novell.com, r=mkanat, a=mkanat
parent
e4dfffc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
report.cgi
report.cgi
+8
-9
No files found.
report.cgi
View file @
2bd074dc
...
...
@@ -331,15 +331,14 @@ exit;
sub
get_names
{
my
(
$names
,
$isnumeric
,
$field
)
=
@_
;
# These are all the fields we want to preserve the order of in reports.
my
%
fields
=
(
'priority'
=>
get_legal_field_values
(
'priority'
),
'bug_severity'
=>
get_legal_field_values
(
'bug_severity'
),
'rep_platform'
=>
get_legal_field_values
(
'rep_platform'
),
'op_sys'
=>
get_legal_field_values
(
'op_sys'
),
'bug_status'
=>
get_legal_field_values
(
'bug_status'
),
'resolution'
=>
[
' '
,
@
{
get_legal_field_values
(
'resolution'
)}]);
# These are all the fields we want to preserve the order of in reports.
my
%
fields
;
my
@select_fields
=
Bugzilla
->
get_fields
({
is_select
=>
1
});
foreach
my
$field
(
@select_fields
)
{
my
@names
=
map
(
$_
->
name
,
@
{
$field
->
legal_values
});
$fields
{
$field
->
name
}
=
\
@names
;
}
my
$field_list
=
$fields
{
$field
};
my
@sorted
;
...
...
@@ -362,6 +361,6 @@ sub get_names {
# ...or alphabetically, as appropriate.
@sorted
=
sort
(
keys
(
%
{
$names
}));
}
return
\
@sorted
;
}
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