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
52deac51
Commit
52deac51
authored
Jan 30, 2013
by
Hugo Seabrook
Committed by
Frédéric Buclin
Jan 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 102048: Display the "Blocks" and "Depends On" columns in buglists
r/a=LpSolit
parent
79ad7580
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
Field.pm
Bugzilla/Field.pm
+2
-2
Search.pm
Bugzilla/Search.pm
+13
-0
table.html.tmpl
template/en/default/list/table.html.tmpl
+2
-0
No files found.
Bugzilla/Field.pm
View file @
52deac51
...
...
@@ -200,9 +200,9 @@ use constant DEFAULT_FIELDS => (
buglist
=>
1
},
{
name
=>
'cc'
,
desc
=>
'CC'
,
in_new_bugmail
=>
1
},
{
name
=>
'dependson'
,
desc
=>
'Depends on'
,
in_new_bugmail
=>
1
,
is_numeric
=>
1
},
is_numeric
=>
1
,
buglist
=>
1
},
{
name
=>
'blocked'
,
desc
=>
'Blocks'
,
in_new_bugmail
=>
1
,
is_numeric
=>
1
},
is_numeric
=>
1
,
buglist
=>
1
},
{
name
=>
'attachments.description'
,
desc
=>
'Attachment description'
},
{
name
=>
'attachments.filename'
,
desc
=>
'Attachment filename'
},
...
...
Bugzilla/Search.pm
View file @
52deac51
...
...
@@ -468,6 +468,14 @@ sub COLUMN_JOINS {
to
=>
'id'
,
},
},
blocked
=>
{
table
=>
'dependencies'
,
to
=>
'dependson'
,
},
dependson
=>
{
table
=>
'dependencies'
,
to
=>
'blocked'
,
},
'longdescs.count'
=>
{
table
=>
'longdescs'
,
join
=>
'INNER'
,
...
...
@@ -549,6 +557,9 @@ sub COLUMNS {
'keywords'
=>
$dbh
->
sql_group_concat
(
'DISTINCT map_keyworddefs.name'
),
blocked
=>
$dbh
->
sql_group_concat
(
'DISTINCT map_blocked.blocked'
),
dependson
=>
$dbh
->
sql_group_concat
(
'DISTINCT map_dependson.dependson'
),
'longdescs.count'
=>
'COUNT(DISTINCT map_longdescs_count.comment_id)'
,
tag
=>
$dbh
->
sql_group_concat
(
'DISTINCT map_tag.name'
),
...
...
@@ -645,7 +656,9 @@ sub REPORT_COLUMNS {
# is here because it *always* goes into the GROUP BY as the first item,
# so it should be skipped when determining extra GROUP BY columns.
use
constant
GROUP_BY_SKIP
=>
qw(
blocked
bug_id
dependson
flagtypes.name
keywords
longdescs.count
...
...
template/en/default/list/table.html.tmpl
View file @
52deac51
...
...
@@ -46,6 +46,8 @@
"short_short_desc" => { maxlength => 60 , ellipsis => "..." , wrap => 1 } ,
"status_whiteboard" => { maxlength => 0, title => "Whiteboard" , wrap => 1 } ,
"keywords" => { maxlength => 0, wrap => 1 } ,
"dependson" => { maxlength => 0, wrap => 1 } ,
"blocked" => { maxlength => 0, wrap => 1 } ,
"flagtypes.name" => { maxlength => 0, wrap => 1 } ,
"component" => { maxlength => 8 , title => "Comp" } ,
"product" => { maxlength => 8 } ,
...
...
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