projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.0.23
[freeside.git]
/
rt
/
share
/
html
/
Search
/
Build.html
diff --git
a/rt/share/html/Search/Build.html
b/rt/share/html/Search/Build.html
index
ad680be
..
eea5f81
100644
(file)
--- a/
rt/share/html/Search/Build.html
+++ b/
rt/share/html/Search/Build.html
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
3
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
5
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-190,7
+190,7
@@
my @new_values = ();
# Try to find if we're adding a clause
foreach my $arg ( keys %ARGS ) {
# Try to find if we're adding a clause
foreach my $arg ( keys %ARGS ) {
- next unless $arg =~ m/^ValueOf([\w\.]+|'
CF.{.*?
}')$/
+ next unless $arg =~ m/^ValueOf([\w\.]+|'
\w*CF\.\{.*?\
}')$/
&& ( ref $ARGS{$arg} eq "ARRAY"
? grep $_ ne '', @{ $ARGS{$arg} }
: $ARGS{$arg} ne '' );
&& ( ref $ARGS{$arg} eq "ARRAY"
? grep $_ ne '', @{ $ARGS{$arg} }
: $ARGS{$arg} ne '' );
@@
-234,10
+234,10
@@
foreach my $arg ( keys %ARGS ) {
$value = "'$value'";
}
$value = "'$value'";
}
- if ($keyword =~ /^'
CF\.{(.*)
}'/) {
- my
$cf = $1
;
+ if ($keyword =~ /^'
(\w*CF)\.\{(.*)\
}'/) {
+ my
($field, $cf) = ($1, $2)
;
$cf =~ s/(['\\])/\\$1/g;
$cf =~ s/(['\\])/\\$1/g;
- $keyword = "'
CF
.{$cf}'";
+ $keyword = "'
$field
.{$cf}'";
}
my $clause = {
}
my $clause = {