OneTicketPerRequestor: Add the search query to the debug log.

This commit is contained in:
Brett Smith 2018-04-10 10:51:21 -04:00
parent d7a24b0f97
commit 50e684e755

View file

@ -91,6 +91,7 @@ sub BeforeDecrypt {
foreach my $sort_args (@$sort_orders) { foreach my $sort_args (@$sort_orders) {
$ticket_search->OrderBy(@$sort_args); $ticket_search->OrderBy(@$sort_args);
} }
$RT::Logger->debug("OTPR search: " . $ticket_search->BuildSelectQuery());
$ticket_search->First; $ticket_search->First;
}; };
if ($@) { if ($@) {