diff options
author | gerv%gerv.net <> | 2002-08-20 06:17:18 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-08-20 06:17:18 +0200 |
commit | 9c0a26d3a5a35788694f5f284c69b995a3298c86 (patch) | |
tree | 15cc4cfb1e5e9fb7bcc3898530776f44c7b52492 /Bugzilla/Search.pm | |
parent | e6fff23fcd99b09511b62c4db4eca658fe5257c4 (diff) | |
download | bugzilla-9c0a26d3a5a35788694f5f284c69b995a3298c86.tar.gz bugzilla-9c0a26d3a5a35788694f5f284c69b995a3298c86.tar.xz |
Bug 143286 - Add support for Insiders, Private comments, Private Attachments. Patch by bugreport@peshkin.net; r=gerv.
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r-- | Bugzilla/Search.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 257b7656d..9ce9d78f4 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -312,6 +312,9 @@ sub init { "^long_?desc," => sub { my $table = "longdescs_$chartid"; push(@supptables, "longdescs $table"); + if (Param("insidergroup") && !UserInGroup(Param("insidergroup"))) { + push(@wherepart, "$table.isprivate < 1") ; + } push(@wherepart, "$table.bug_id = bugs.bug_id"); $f = "$table.thetext"; }, |