]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Search/Elements/PickBasics
Putting 4.2.0 on top of 4.0.17
[usit-rt.git] / share / html / Search / Elements / PickBasics
index 66cabbec91b7505fe28fe340f5ae62160787d0f2..71c86eeea2c5682bcf03aa515d3544d6dc89571e 100644 (file)
@@ -70,10 +70,10 @@ my @lines = (
             Type => 'component',
             Path => '/Elements/SelectBoolean',
             Arguments => {
-                           True => loc("matches"), 
-                           False => loc("doesn't match"), 
-                           TrueVal => 'LIKE',
-                           FalseVal => 'NOT LIKE',
+                True => loc("matches"), 
+                False => loc("doesn't match"), 
+                TrueVal => 'LIKE',
+                FalseVal => 'NOT LIKE',
             },
         },
         Value => { Type => 'text', Size => 20 },
@@ -89,7 +89,7 @@ my @lines = (
         Value => {
             Type => 'component',
             Path => '/Elements/SelectQueue',
-            Arguments => { NamedValues => 1, CheckQueueRight => 'ShowTicket' },
+            Arguments => { NamedValues => 1, },
         },
     },
     {
@@ -102,7 +102,7 @@ my @lines = (
         },
         Value => {
             Type => 'component',
-            Path => '/Elements/SelectStatus',
+            Path => '/Ticket/Elements/SelectStatus',
             Arguments => { SkipDeleted => 1, Queues => \%queues },
         },
     },
@@ -140,6 +140,19 @@ my @lines = (
         },
         Value => { Type => 'text', Size => 20 }
     },
+    {
+        Name => 'WatcherGroup',
+        Field => {
+            Type => 'component',
+            Path => 'SelectPersonType',
+            Arguments => { Default => 'Owner', Suffix => 'Group' },
+        },
+        Op => {
+            Type => 'select',
+            Options => [ '=' => loc('is') ],
+        },
+        Value => { Type => 'text', Size => 20, "data-autocomplete" => "Groups" }
+    },
     {
         Name => 'Date',
         Field => {