[Rt-commit] rt branch 5.0/add-show-history-modify-paths-callback created. rt-5.0.4-5-gc4c0899208

BPS Git Server git at git.bestpractical.com
Wed May 10 14:23:28 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/add-show-history-modify-paths-callback has been created
        at  c4c0899208702f88aaec8298f2e8dbb0355bd83f (commit)

- Log -----------------------------------------------------------------
commit c4c0899208702f88aaec8298f2e8dbb0355bd83f
Author: Brad Embree <brad at bestpractical.com>
Date:   Wed May 10 07:23:08 2023 -0700

    Add ModifyPaths callback to ShowHistoryPage

diff --git a/share/html/Elements/ShowHistoryPage b/share/html/Elements/ShowHistoryPage
index f6aa296e87..6aaee02951 100644
--- a/share/html/Elements/ShowHistoryPage
+++ b/share/html/Elements/ShowHistoryPage
@@ -136,6 +136,11 @@ while ( my $Transaction = $Transactions->Next ) {
     );
     next if $skip;
 
+    $m->callback(
+        ARGSRef      => \%ARGS,
+        CallbackName => 'ModifyPaths',
+    );
+
     # ARGS is first because we're clobbering the "Attachments" parameter
     $m->comp( 'ShowTransaction',
         %ARGS,

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


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list