X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fhtml%2FSearch%2FElements%2FPickRestriction;h=0021ab2bc9f03c0ece1dc491b8dc0583eb132e2d;hb=35effa1bf4ac902547615c816960bbc8db8e7256;hp=a6911df5ad31174b06372eb02e1f755b039dcf3c;hpb=0ebeec96313dd7edfca340f01f8fbbbac1f4aa1d;p=freeside.git
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 ) {