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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
8850b0dc
Commit
8850b0dc
authored
Dec 20, 2006
by
reed%reedloden.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 364195 - "No way to search for private comments" [p=reed r=justdave a=justdave]
parent
3f1a0a81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
Field.pm
Bugzilla/Field.pm
+1
-0
Search.pm
Bugzilla/Search.pm
+12
-0
No files found.
Bugzilla/Field.pm
View file @
8850b0dc
...
@@ -168,6 +168,7 @@ use constant DEFAULT_FIELDS => (
...
@@ -168,6 +168,7 @@ use constant DEFAULT_FIELDS => (
{
name
=>
'creation_ts'
,
desc
=>
'Creation date'
,
in_new_bugmail
=>
1
},
{
name
=>
'creation_ts'
,
desc
=>
'Creation date'
,
in_new_bugmail
=>
1
},
{
name
=>
'delta_ts'
,
desc
=>
'Last changed date'
,
in_new_bugmail
=>
1
},
{
name
=>
'delta_ts'
,
desc
=>
'Last changed date'
,
in_new_bugmail
=>
1
},
{
name
=>
'longdesc'
,
desc
=>
'Comment'
},
{
name
=>
'longdesc'
,
desc
=>
'Comment'
},
{
name
=>
'longdescs.isprivate'
,
desc
=>
'Comment is private'
},
{
name
=>
'alias'
,
desc
=>
'Alias'
},
{
name
=>
'alias'
,
desc
=>
'Alias'
},
{
name
=>
'everconfirmed'
,
desc
=>
'Ever Confirmed'
},
{
name
=>
'everconfirmed'
,
desc
=>
'Ever Confirmed'
},
{
name
=>
'reporter_accessible'
,
desc
=>
'Reporter Accessible'
},
{
name
=>
'reporter_accessible'
,
desc
=>
'Reporter Accessible'
},
...
...
Bugzilla/Search.pm
View file @
8850b0dc
...
@@ -707,6 +707,18 @@ sub init {
...
@@ -707,6 +707,18 @@ sub init {
"ON $table.bug_id = bugs.bug_id $extra"
);
"ON $table.bug_id = bugs.bug_id $extra"
);
$f
=
"$table.thetext"
;
$f
=
"$table.thetext"
;
},
},
"^longdescs\.isprivate,"
=>
sub
{
my
$table
=
"longdescs_$chartid"
;
my
$extra
=
""
;
if
(
Bugzilla
->
params
->
{
"insidergroup"
}
&&
!
Bugzilla
->
user
->
in_group
(
Bugzilla
->
params
->
{
"insidergroup"
}))
{
$extra
=
"AND $table.isprivate < 1"
;
}
push
(
@supptables
,
"INNER JOIN longdescs AS $table "
.
"ON $table.bug_id = bugs.bug_id $extra"
);
$f
=
"$table.isprivate"
;
},
"^work_time,changedby"
=>
sub
{
"^work_time,changedby"
=>
sub
{
my
$table
=
"longdescs_$chartid"
;
my
$table
=
"longdescs_$chartid"
;
push
(
@supptables
,
"INNER JOIN longdescs AS $table "
.
push
(
@supptables
,
"INNER JOIN longdescs AS $table "
.
...
...
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