[Rt-commit] rt branch, 4.2/user-cf-simplesearch, repushed
Kevin Falcone
falcone at bestpractical.com
Tue Feb 3 09:52:07 EST 2015
The branch 4.2/user-cf-simplesearch was deleted and repushed:
was 24bea750e068f094ba0984326321f6d2c574e9af
now 5269fb606617be524910a4fa0769eddcc3621256
1: 24bea75 ! 1: 5269fb6 Load a Custom Field to improve searches
@@ -31,7 +31,7 @@
if ($name =~ /^CF\.(?:\{(.*)}|(.*))$/) {
my $cfname = $1 || $2;
-+ my $cf = RT::CustomField->new($self->CurrentUser);
++ my $cf = RT::CustomField->new(RT->SystemUser);
+ $cf->LoadByName( Name => $cfname, LookupType => 'RT::User');
+ my $cfsearch = $cf->Id ? $cf : $cfname;
$self->LimitCustomField(
More information about the rt-commit
mailing list