X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FSimpleSearch;h=2b7e6e21fb767717933d7afb32d9bdd2a11ddd7f;hp=d6287f19bcb189dc796e10c554275d8ec1fb8fae;hb=01721976fa3324f41a3093cda68bc38a7eec5ff5;hpb=73a6a80a9ca5edbd43d139b7cb25bfee4abfd35e diff --git a/rt/share/html/Elements/SimpleSearch b/rt/share/html/Elements/SimpleSearch index d6287f19b..2b7e6e21f 100755 --- a/rt/share/html/Elements/SimpleSearch +++ b/rt/share/html/Elements/SimpleSearch @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,8 +46,11 @@ %# %# END BPS TAGGED BLOCK }}} +<%init> +my $value = defined $DECODED_ARGS->{q} ? $DECODED_ARGS->{q} : ''; + <%ARGS> $SendTo => '/Search/Simple.html' $Placeholder => loc('Search')