summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index bf81451ae..49f32fdf8 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -478,6 +478,9 @@ sub init {
push(@fields, $select_term);
}
},
+ "^content," => sub {
+ ThrowUserError("search_content_without_matches");
+ },
"^commenter,(?:equals|anyexact),(%\\w+%)" => sub {
my $match = pronoun($1, $user);
my $chartseq = $chartid;
@@ -828,6 +831,9 @@ sub init {
",lessthan" => sub {
$term = "$ff < $q";
},
+ ",matches" => sub {
+ ThrowUserError("search_content_without_matches");
+ },
",greaterthan" => sub {
$term = "$ff > $q";
},