[freeside-commits] branch master updated. 5b5eb87bf66f1fac003a13dc2db48e8970c5c986

Christopher Burger burgerc at 420.am
Tue Aug 22 10:07:27 PDT 2017


The branch, master has been updated
       via  5b5eb87bf66f1fac003a13dc2db48e8970c5c986 (commit)
      from  2dca91166a0fe163a51741b37edc812c7a32b9a9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5b5eb87bf66f1fac003a13dc2db48e8970c5c986
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Tue Aug 22 13:05:37 2017 -0400

    RT# 77021 - fixed advanced report criteria so agent and other fileds with a . in them now work.

diff --git a/rt/share/html/Search/Build.html b/rt/share/html/Search/Build.html
index 3065192..cffcbf4 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 '' );

-----------------------------------------------------------------------

Summary of changes:
 rt/share/html/Search/Build.html |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)




More information about the freeside-commits mailing list