> While there, you might simplify the body to remove the unnecessary
> $global_only
Sorry, should have stuck with my original there:
my $self = shift;
$self->Limit( ALIAS => $self->_OCFAlias,
FIELD => 'ObjectId',
OPERATOR => '=',
VALUE => 0,
ENTRYAGGREGATOR => 'OR' );
foreach my $id (@_) {
$self->Limit( ALIAS => $self->_OCFAlias,
FIELD => 'ObjectId',
OPERATOR => '=',
VALUE => $id,
ENTRYAGGREGATOR => 'OR' );
}
--
Cambridge Energy Alliance: Save money. Save the planet.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [email protected]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com