[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.4-124-g9d05b93c13
? sunnavy
sunnavy at bestpractical.com
Tue Jul 14 15:03:59 EDT 2020
The branch, 4.4-trunk has been updated
via 9d05b93c1317f8b7b8f5edf4bd0ad65a676bbfaf (commit)
from 755f489c640b8c6a9d2735a9e5ee3c7cb63b50b1 (commit)
Summary of changes:
lib/RT/Interface/Web/QueryBuilder/Tree.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 9d05b93c1317f8b7b8f5edf4bd0ad65a676bbfaf
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sat Jul 11 04:01:54 2020 +0800
Fix "Case sensitive search by Queues.Name" warnings in GetReferencedQueues
diff --git a/lib/RT/Interface/Web/QueryBuilder/Tree.pm b/lib/RT/Interface/Web/QueryBuilder/Tree.pm
index f9cdd6144f..b69402bbc7 100644
--- a/lib/RT/Interface/Web/QueryBuilder/Tree.pm
+++ b/lib/RT/Interface/Web/QueryBuilder/Tree.pm
@@ -120,7 +120,7 @@ sub GetReferencedQueues {
}
elsif ( $clause->{Op} =~ /^LIKE$/i ) {
my $qs = RT::Queues->new( $args{CurrentUser} || $HTML::Mason::Commands::session{CurrentUser} );
- $qs->Limit( FIELD => 'Name', VALUE => $clause->{Value}, OPERATOR => 'LIKE' );
+ $qs->Limit( FIELD => 'Name', VALUE => $clause->{Value}, OPERATOR => 'LIKE', CASESENSITIVE => 0 );
while ( my $q = $qs->Next ) {
next unless $q->id;
$queues->{ $q->id } ||= 1;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list