Skip to content

Commit

Permalink
Fix aggregator of no-indexed content fields for transaction searches
Browse files Browse the repository at this point in the history
We should use the one in %rest instead of "AND". We copied the "AND" from
Tickets.pm, but forgot to change it when commenting out the Limit call above
that excludes "EmailRecord" and "CommentEmailRecord" type.
  • Loading branch information
sunnavy committed Jan 24, 2024
1 parent 5404f1f commit f1b9276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RT/Transactions.pm
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ sub _AttachContentLimit {
# );

$self->Limit(
ENTRYAGGREGATOR => 'AND',
%rest,
ALIAS => $self->{_sql_aliases}{attach},
FIELD => $field,
OPERATOR => $op,
Expand Down

0 comments on commit f1b9276

Please sign in to comment.