X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSearch%2FElements%2FPickBasics;h=946b84abe685ab339d9c892e85b398206459b68e;hb=de9d037528895f7151a9aead6724ce2df95f9586;hp=e9534237b27e0337e91fc77a8b5989d90e7de324;hpb=1c59bba12621e154765a8255534e94a041dfd200;p=freeside.git diff --git a/rt/share/html/Search/Elements/PickBasics b/rt/share/html/Search/Elements/PickBasics index e9534237b..946b84abe 100644 --- a/rt/share/html/Search/Elements/PickBasics +++ b/rt/share/html/Search/Elements/PickBasics @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -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,8 +102,8 @@ my @lines = ( }, Value => { Type => 'component', - Path => '/Elements/SelectStatus', - Arguments => { SkipDeleted => 1 }, + Path => '/Ticket/Elements/SelectStatus', + Arguments => { SkipDeleted => 1, Queues => \%queues }, }, }, { @@ -114,6 +114,7 @@ my @lines = ( Owner => loc('Owner'), Creator => loc('Creator'), LastUpdatedBy => loc('Last updated by'), + UpdatedBy => loc('Updated by'), ], }, Op => { @@ -124,7 +125,7 @@ my @lines = ( Value => { Type => 'component', Path => '/Elements/SelectOwner', - Arguments => { ValueAttribute => 'Name' }, + Arguments => { ValueAttribute => 'Name', Queues => \%queues }, }, }, { @@ -141,6 +142,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 => { Type => 'component', @@ -214,3 +228,6 @@ my @lines = ( $m->callback( Conditions => \@lines ); +<%ARGS> +%queues => () +