[Rt-commit] rtir branch, 4.0/fix-history-attachment-url, created. 4.0.0rc1-7-gd5ec26d

Dustin Graves dustin at bestpractical.com
Tue Jun 28 18:18:52 EDT 2016


The branch, 4.0/fix-history-attachment-url has been created
        at  d5ec26d413eebe528c9ea0e9f137de780492b0fb (commit)

- Log -----------------------------------------------------------------
commit d5ec26d413eebe528c9ea0e9f137de780492b0fb
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Tue Jun 28 22:18:21 2016 +0000

    add AttachmentPath to ExtraShowHistoryArguments so attachment links will have proper URLs in ticket history
    
    Fixes: I#32084

diff --git a/html/Callbacks/RTIR/Helpers/TicketHistory/ExtraShowHistoryArguments b/html/Callbacks/RTIR/Helpers/TicketHistory/ExtraShowHistoryArguments
index 160f3d2..4716916 100644
--- a/html/Callbacks/RTIR/Helpers/TicketHistory/ExtraShowHistoryArguments
+++ b/html/Callbacks/RTIR/Helpers/TicketHistory/ExtraShowHistoryArguments
@@ -57,6 +57,7 @@ my $id = $Ticket->Id;
         EncryptionPath =>  RT::IR->HREFTo("Crypt.html"),
         (($type eq "Incident") ? () : (WarnUnsigned   => 1)),
         PathPrefix     => RT->Config->Get('WebPath') ."/Ticket/",
+        AttachmentPath => RT->Config->Get('WebPath') ."/Ticket/Attachment",
 );
 
 </%INIT>

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


More information about the rt-commit mailing list