[Rt-commit] rt branch, 4.2/show-history-before-transactions-callback, created. rt-4.2.0-55-g94606f9

Jim Brandt jbrandt at bestpractical.com
Tue Nov 12 14:19:41 EST 2013


The branch, 4.2/show-history-before-transactions-callback has been created
        at  94606f9a4b94454cdbe394bc9c7f80ace11d5a31 (commit)

- Log -----------------------------------------------------------------
commit 94606f9a4b94454cdbe394bc9c7f80ace11d5a31
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Nov 12 14:17:49 2013 -0500

    Add a callback in ShowHistory before it iterates on transactions

diff --git a/share/html/Elements/ShowHistory b/share/html/Elements/ShowHistory
index 10c0e75..f61fbac 100644
--- a/share/html/Elements/ShowHistory
+++ b/share/html/Elements/ShowHistory
@@ -81,6 +81,7 @@ if ( $ShowDisplayModes or $ShowTitle ) {
 
 <div class="history-container">
 <%perl>
+$m->callback( %ARGS, Object => $Object, CallbackName => 'BeforeTransactions' );
 my $i = 1;
 while ( my $Transaction = $Transactions->Next ) {
     my $skip = 0;

-----------------------------------------------------------------------


More information about the rt-commit mailing list