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
294cff65
Commit
294cff65
authored
Apr 11, 2013
by
Pami Ketolainen
Committed by
Frédéric Buclin
Apr 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 860723: Custom fields are shown twice in report axis selectors
r/a=LpSolit
parent
28452a3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
query.cgi
query.cgi
+0
-7
search-report-select.html.tmpl
template/en/default/search/search-report-select.html.tmpl
+0
-7
No files found.
query.cgi
View file @
294cff65
...
@@ -261,13 +261,6 @@ if (($cgi->param('query_format') || $cgi->param('format') || "")
...
@@ -261,13 +261,6 @@ if (($cgi->param('query_format') || $cgi->param('format') || "")
$vars
->
{
'category'
}
=
Bugzilla::Chart::
getVisibleSeries
();
$vars
->
{
'category'
}
=
Bugzilla::Chart::
getVisibleSeries
();
}
}
if
(
$cgi
->
param
(
'format'
)
&&
$cgi
->
param
(
'format'
)
=~
/^report-(table|graph)$/
)
{
# Get legal custom fields for tabular and graphical reports.
my
@custom_fields_for_reports
=
grep
{
$_
->
type
==
FIELD_TYPE_SINGLE_SELECT
}
Bugzilla
->
active_custom_fields
;
$vars
->
{
'custom_fields'
}
=
\
@custom_fields_for_reports
;
}
$vars
->
{
'known_name'
}
=
$cgi
->
param
(
'known_name'
);
$vars
->
{
'known_name'
}
=
$cgi
->
param
(
'known_name'
);
$vars
->
{
'columnlist'
}
=
$cgi
->
param
(
'columnlist'
);
$vars
->
{
'columnlist'
}
=
$cgi
->
param
(
'columnlist'
);
...
...
template/en/default/search/search-report-select.html.tmpl
View file @
294cff65
...
@@ -25,12 +25,5 @@
...
@@ -25,12 +25,5 @@
[% " selected" IF default.$name.0 == field %]>
[% " selected" IF default.$name.0 == field %]>
[% field_descs.$field || field FILTER html %]</option>
[% field_descs.$field || field FILTER html %]</option>
[% END %]
[% END %]
[%# Single-select fields are also valid column names. %]
[% FOREACH field = custom_fields %]
<option value="[% field.name FILTER html %]"
[% " selected" IF default.$name.0 == field.name %]>
[% field.description FILTER html %]</option>
[% END %]
</select>
</select>
[% END %]
[% END %]
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