[Rt-commit] rt branch, 4.4/columns-as-values-in-ticket-search, updated. rt-4.4.4-13-g670d88dc7
? sunnavy
sunnavy at bestpractical.com
Wed Jun 26 15:25:29 EDT 2019
The branch, 4.4/columns-as-values-in-ticket-search has been updated
via 670d88dc7ebb8a0461c4055ebc9e20d62d04307c (commit)
from 146ed9f4d57d28b19effb95d2c361f08c2a97382 (commit)
Summary of changes:
lib/RT/SearchBuilder.pm | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit 670d88dc7ebb8a0461c4055ebc9e20d62d04307c
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Jun 27 02:57:32 2019 +0800
Respect QUOTEVALUE for CF negative searches and LargeContent column
For multi-value cfs, negitive searches like "CF.bar != Subject" resulted
in:
LEFT JOIN ObjectCustomFieldValues ObjectCustomFieldValues_1
ON ( ObjectCustomFieldValues_1.Content = 'Subject' )
This commit fixes it to:
LEFT JOIN ObjectCustomFieldValues ObjectCustomFieldValues_1
ON ( ObjectCustomFieldValues_1.Content = Subject )
LargeContent part for "CF.foo > Due" was:
ObjectCustomFieldValues_1.LargeContent > 'Due'
This commit fixes it to:
ObjectCustomFieldValues_1.LargeContent > Due
diff --git a/lib/RT/SearchBuilder.pm b/lib/RT/SearchBuilder.pm
index e5ceed8fb..85322a497 100644
--- a/lib/RT/SearchBuilder.pm
+++ b/lib/RT/SearchBuilder.pm
@@ -723,6 +723,7 @@ sub _LimitCustomField {
OPERATOR => $op,
VALUE => $value,
CASESENSITIVE => 0,
+ QUOTEVALUE => $args{QUOTEVALUE},
) );
$self->Limit(
%args,
@@ -827,6 +828,7 @@ sub _LimitCustomField {
ENTRYAGGREGATOR => 'AND',
SUBCLAUSE => $args{SUBCLAUSE},
CASESENSITIVE => 0,
+ QUOTEVALUE => $args{QUOTEVALUE},
) );
$self->_CloseParen( $args{SUBCLAUSE} ); # LargeContent check
}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list