[Rt-commit] [rtir] 04/08: Actually record the article link when using one on a reply.

Kevin Falcone falcone at bestpractical.com
Mon Aug 18 12:26:08 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch 3.2/clean-up-articles-code
in repository rtir.

commit 106b693d67cde59a44200ca007907c93b51538c0
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Aug 15 16:54:14 2014 -0400

    Actually record the article link when using one on a reply.
    
    The other Reply pages (IR and Investigations) do this because they're
    closer to core.  This reply page totally ignores it.
    
    It would be good to also record article links on the children where this
    article is used, but it requires a bit of args tweaking.
---
 html/RTIR/Incident/Reply/index.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/html/RTIR/Incident/Reply/index.html b/html/RTIR/Incident/Reply/index.html
index d5f4d6f..cc862e6 100644
--- a/html/RTIR/Incident/Reply/index.html
+++ b/html/RTIR/Incident/Reply/index.html
@@ -203,6 +203,8 @@ if ( $SubmitTicket && !$checks_failure ) {
         $update_incident_state = 0 if RT::IR->IncidentHasActiveChildren( $IncidentObj );
     }
 
+    push @results, ProcessTicketLinks(   TicketObj => $IncidentObj, ARGSRef => \%ARGS );
+
     if ( $update_incident_state ) {
         push @results, ProcessObjectCustomFieldUpdates(
             Object => $IncidentObj, ARGSRef => \%ARGS

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list