[Rt-commit] rt branch, 4.4/initial-callback-bulk, created. rt-4.4.2-57-g2c37247
Craig Kaiser
craig at bestpractical.com
Thu Dec 21 09:25:49 EST 2017
The branch, 4.4/initial-callback-bulk has been created
at 2c3724717e30e94266af526a646d4757c095c1e3 (commit)
- Log -----------------------------------------------------------------
commit 2c3724717e30e94266af526a646d4757c095c1e3
Author: Craig Kaiser <craig at bestpractical.com>
Date: Fri Dec 15 12:58:39 2017 -0500
Add callback to Bulk.html at start of Init block
diff --git a/share/html/Search/Bulk.html b/share/html/Search/Bulk.html
index bb06b24..348d45e 100644
--- a/share/html/Search/Bulk.html
+++ b/share/html/Search/Bulk.html
@@ -226,6 +226,10 @@ $cfs->SetContextObject( values %$seen_queues ) if keys %$seen_queues == 1;
</div>
<%INIT>
+my (@results);
+
+$m->callback(CallbackName => 'Initial', ARGSRef => \%ARGS, results_ref => \@results, QueryRef => \$Query, UpdateTicketRef => \@UpdateTicket);
+
unless ( defined $Rows ) {
$Rows = $RowsPerPage;
$ARGS{Rows} = $RowsPerPage;
@@ -235,8 +239,6 @@ my $title = loc("Update multiple tickets");
# Iterate through the ARGS hash and remove anything with a null value.
map ( $ARGS{$_} =~ /^$/ && ( delete $ARGS{$_} ), keys %ARGS );
-my (@results);
-
ProcessAttachments(ARGSRef => \%ARGS);
$Page ||= 1;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list