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
ad239c56
Commit
ad239c56
authored
Nov 04, 2002
by
kiko%async.com.br
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 62729, "Add real name capability to bug_list.cgi". Patch by
Toms Baugis, r=kiko, 2xr=joel.
parent
dad7d60d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
4 deletions
+18
-4
Search.pm
Bugzilla/Search.pm
+6
-3
buglist.cgi
buglist.cgi
+3
-0
colchange.cgi
colchange.cgi
+3
-1
change-columns.html.tmpl
template/en/default/list/change-columns.html.tmpl
+3
-0
table.html.tmpl
template/en/default/list/table.html.tmpl
+3
-0
No files found.
Bugzilla/Search.pm
View file @
ad239c56
...
...
@@ -69,17 +69,20 @@ sub init {
my
@andlist
;
# First, deal with all the old hard-coded non-chart-based poop.
if
(
lsearch
(
$fieldsref
,
'map_assigned_to.login_name'
)
>=
0
)
{
if
(
lsearch
(
$fieldsref
,
'map_assigned_to.login_name'
)
>=
0
||
lsearch
(
$fieldsref
,
'map_assigned_to.realname'
)
>=
0
)
{
push
@supptables
,
"profiles AS map_assigned_to"
;
push
@wherepart
,
"bugs.assigned_to = map_assigned_to.userid"
;
}
if
(
lsearch
(
$fieldsref
,
'map_reporter.login_name'
)
>=
0
)
{
if
(
lsearch
(
$fieldsref
,
'map_reporter.login_name'
)
>=
0
||
lsearch
(
$fieldsref
,
'map_reporter.realname'
)
>=
0
)
{
push
@supptables
,
"profiles AS map_reporter"
;
push
@wherepart
,
"bugs.reporter = map_reporter.userid"
;
}
if
(
lsearch
(
$fieldsref
,
'map_qa_contact.login_name'
)
>=
0
)
{
if
(
lsearch
(
$fieldsref
,
'map_qa_contact.login_name'
)
>=
0
||
lsearch
(
$fieldsref
,
'map_qa_contact.realname'
)
>=
0
)
{
push
@supptables
,
"LEFT JOIN profiles map_qa_contact ON bugs.qa_contact = map_qa_contact.userid"
;
}
...
...
buglist.cgi
View file @
ad239c56
...
...
@@ -370,8 +370,11 @@ DefineColumn("severity" , "bugs.bug_severity" , "Severity"
DefineColumn
(
"priority"
,
"bugs.priority"
,
"Priority"
);
DefineColumn
(
"platform"
,
"bugs.rep_platform"
,
"Platform"
);
DefineColumn
(
"owner"
,
"map_assigned_to.login_name"
,
"Owner"
);
DefineColumn
(
"owner_realname"
,
"map_assigned_to.realname"
,
"Owner"
);
DefineColumn
(
"reporter"
,
"map_reporter.login_name"
,
"Reporter"
);
DefineColumn
(
"reporter_realname"
,
"map_reporter.realname"
,
"Reporter"
);
DefineColumn
(
"qa_contact"
,
"map_qa_contact.login_name"
,
"QA Contact"
);
DefineColumn
(
"qa_contact_realname"
,
"map_qa_contact.realname"
,
"QA Contact"
);
DefineColumn
(
"status"
,
"bugs.bug_status"
,
"State"
);
DefineColumn
(
"resolution"
,
"bugs.resolution"
,
"Result"
);
DefineColumn
(
"summary"
,
"bugs.short_desc"
,
"Summary"
);
...
...
colchange.cgi
View file @
ad239c56
...
...
@@ -42,7 +42,8 @@ GetVersionTable();
# The master list not only says what fields are possible, but what order
# they get displayed in.
my
@masterlist
=
(
"opendate"
,
"changeddate"
,
"severity"
,
"priority"
,
"platform"
,
"owner"
,
"reporter"
,
"status"
,
"resolution"
,
"platform"
,
"owner"
,
"owner_realname"
,
"reporter"
,
"reporter_realname"
,
"status"
,
"resolution"
,
"product"
,
"component"
,
"version"
,
"os"
,
"votes"
);
if
(
Param
(
"usetargetmilestone"
))
{
...
...
@@ -50,6 +51,7 @@ if (Param("usetargetmilestone")) {
}
if
(
Param
(
"useqacontact"
))
{
push
(
@masterlist
,
"qa_contact"
);
push
(
@masterlist
,
"qa_contact_realname"
);
}
if
(
Param
(
"usestatuswhiteboard"
))
{
push
(
@masterlist
,
"status_whiteboard"
);
...
...
template/en/default/list/change-columns.html.tmpl
View file @
ad239c56
...
...
@@ -34,7 +34,9 @@
"priority" => "Priority",
"platform" => "Hardware",
"owner" => "Owner",
"owner_realname" => "Owner Realname",
"reporter" => "Reporter",
"reporter_realname" => "Reporter Realname",
"status" => "Status",
"resolution" => "Resolution",
"product" => "Product",
...
...
@@ -45,6 +47,7 @@
"keywords" => "Keywords",
"target_milestone" => "Target",
"qa_contact" => "QA Contact",
"qa_contact_realname" => "QA Contact Realname",
"status_whiteboard" => "Whiteboard",
"summary" => "Summary (first 60 characters)",
"summaryfull" => "Full Summary" } %]
...
...
template/en/default/list/table.html.tmpl
View file @
ad239c56
...
...
@@ -38,8 +38,11 @@
"platform" => { maxlength => 3 , title => "Plt" } ,
"status" => { maxlength => 4 } ,
"reporter" => { maxlength => 30 , ellipsis => "..." } ,
"reporter_realname" => { maxlength => 20 , ellipsis => "..." } ,
"owner" => { maxlength => 30 , ellipsis => "..." } ,
"owner_realname" => { maxlength => 20 , ellipsis => "..." } ,
"qa_contact" => { maxlength => 30 , ellipsis => "..." , title => "QAContact" } ,
"qa_contact_realname" => { maxlength => 20 , ellipsis => "..." , title => "QAContact" } ,
"resolution" => { maxlength => 4 } ,
"summary" => { maxlength => 60 , ellipsis => "..." , wrap => 1 } ,
"summaryfull" => { wrap => 1 } ,
...
...
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