diff options
Diffstat (limited to 'rt/lib/RT/Tickets.pm')
-rwxr-xr-x | rt/lib/RT/Tickets.pm | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/rt/lib/RT/Tickets.pm b/rt/lib/RT/Tickets.pm index 4d091ce7a..c826b6f04 100755 --- a/rt/lib/RT/Tickets.pm +++ b/rt/lib/RT/Tickets.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC # <sales@bestpractical.com> # # (Except where explicitly superseded by other copyright notices) @@ -89,7 +89,6 @@ use base 'RT::SearchBuilder'; sub Table { 'Tickets'} use RT::CustomFields; -use DBIx::SearchBuilder::Unique; # Configuration Tables: @@ -2014,16 +2013,6 @@ sub OrderByCols { QUOTEVALUE => 1, ENTRYAGGREGATOR => 'AND', ) if $CFs; - unless ($cf_obj) { - # For those cases where we are doing a join against the - # CF name, and don't have a CFid, use Unique to make sure - # we don't show duplicate tickets. NOTE: I'm pretty sure - # this will stay mixed in for the life of the - # class/package, and not just for the life of the object. - # Potential performance issue. - require DBIx::SearchBuilder::Unique; - DBIx::SearchBuilder::Unique->import; - } my $CFvs = $self->Join( TYPE => 'LEFT', ALIAS1 => $ObjectCFs, |