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
af001619
Commit
af001619
authored
Apr 05, 2005
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 286461:Add products table to search if classification are needed
Patch by joel r=gerv, a=justdave
parent
07c0db55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
Search.pm
Bugzilla/Search.pm
+4
-0
report.cgi
report.cgi
+0
-6
No files found.
Bugzilla/Search.pm
View file @
af001619
...
...
@@ -139,6 +139,8 @@ sub init {
push
@supptables
,
"INNER JOIN classifications AS map_classifications "
.
"ON map_products.classification_id = map_classifications.id"
;
push
@supptables
,
"INNER JOIN products AS map_products "
.
"ON bugs.product_id = map_products.id"
;
}
if
(
lsearch
(
$fieldsref
,
'map_components.name'
)
>=
0
)
{
...
...
@@ -863,6 +865,8 @@ sub init {
"^classification,(?!changed)"
=>
sub
{
# Generate the restriction condition
push
@supptables
,
"INNER JOIN products AS map_products "
.
"ON bugs.product_id = map_products.id"
;
$f
=
$ff
=
"classifications.name"
;
$funcsbykey
{
",$t"
}
->
();
$term
=
build_subselect
(
"map_products.classification_id"
,
...
...
report.cgi
View file @
af001619
...
...
@@ -136,12 +136,6 @@ $columns{''} = "42217354";
my
@axis_fields
=
(
$row_field
,
$col_field
,
$tbl_field
);
my
@selectnames
=
map
(
$columns
{
$_
},
@axis_fields
);
# add product if person is requesting classification
if
(
lsearch
(
\
@axis_fields
,
"classification"
)
>=
0
)
{
if
(
lsearch
(
\
@axis_fields
,
"product"
)
<
0
)
{
push
(
@selectnames
,(
$columns
{
'product'
}));
}
}
# Clone the params, so that Bugzilla::Search can modify them
my
$params
=
new
Bugzilla::
CGI
(
$cgi
);
...
...
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