X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fhtml%2FSearch%2FElements%2FPickRestriction;h=0021ab2bc9f03c0ece1dc491b8dc0583eb132e2d;hp=a6911df5ad31174b06372eb02e1f755b039dcf3c;hb=289340780927b5bac2c7604d7317c3063c6dd8cc;hpb=945721f48f74d5cfffef7c7cf3a3d6bc2521f5dd;ds=sidebyside
diff --git a/rt/html/Search/Elements/PickRestriction b/rt/html/Search/Elements/PickRestriction
index a6911df5a..0021ab2bc 100644
--- a/rt/html/Search/Elements/PickRestriction
+++ b/rt/html/Search/Elements/PickRestriction
@@ -34,9 +34,10 @@
<& /Elements/SelectOwner, Name => "ValueOfOwner" &>
-<&|/l&>Requestor email address&>
-<& /Elements/SelectMatch, Name => "RequestorOp" &>
-
+<& /Elements/SelectWatcherType, Name => "WatcherRole", AllowNull => 0 &>
+<&|/l&>email address&>
+<& /Elements/SelectMatch, Name => "WatcherRoleOp" &>
+
<&|/l&>Subject&> <& /Elements/SelectMatch, Name => "SubjectOp" &>
@@ -47,7 +48,7 @@
False => loc("isn't"),
TrueVal=> '=',
FalseVal => '!=' &>
-<& /Elements/SelectQueue, Name => loc("ValueOfQueue") &>
+<& /Elements/SelectQueue, Name => "ValueOfQueue" &>
<&|/l&>Priority&> <& /Elements/SelectEqualityOperator, Name => "PriorityOp" &>
@@ -77,7 +78,7 @@
TrueVal=> '=',
FalseVal => '!='
&>
-<& /Elements/SelectStatus, Name => "ValueOfStatus" &>
+<& /Elements/SelectStatus, Name => "ValueOfStatus", SkipDeleted => 1 &>
% while ( my $CustomField = $CustomFields->Next ) {