diff options
author | Christopher Burger <burgerc@freeside.biz> | 2017-08-22 13:05:37 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2017-08-22 13:05:37 -0400 |
commit | 5b5eb87bf66f1fac003a13dc2db48e8970c5c986 (patch) | |
tree | 50b69a3324047f60aa8262abd647514896b54b39 /rt | |
parent | 2dca91166a0fe163a51741b37edc812c7a32b9a9 (diff) |
RT# 77021 - fixed advanced report criteria so agent and other fileds with a . in them now work.
Diffstat (limited to 'rt')
-rw-r--r-- | rt/share/html/Search/Build.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rt/share/html/Search/Build.html b/rt/share/html/Search/Build.html index 306519242..cffcbf426 100644 --- a/rt/share/html/Search/Build.html +++ b/rt/share/html/Search/Build.html @@ -67,7 +67,6 @@ %# <& /Elements/Header, Title => $title &> <& /Elements/Tabs, %TabArgs &> - <form method="post" action="Build.html" name="BuildQuery" id="BuildQuery"> <input type="hidden" class="hidden" name="SavedSearchId" value="<% $saved_search{'Id'} %>" /> <input type="hidden" class="hidden" name="SavedChartSearchId" value="<% $ARGS{'SavedChartSearchId'} %>" /> @@ -200,7 +199,7 @@ my $cf_field_names = # Try to find if we're adding a clause foreach my $arg ( keys %ARGS ) { - next unless $arg =~ m/^ValueOf(\w+|($cf_field_names).\{.*?\})$/ + next unless $arg =~ m/^ValueOf([\w\.]+|($cf_field_names).\{.*?\})$/ && ( ref $ARGS{$arg} eq "ARRAY" ? grep $_ ne '', @{ $ARGS{$arg} } : $ARGS{$arg} ne '' ); |