[rt-users] Editing Custom Fields on Update
Michael S. Liebman
m-liebman at northwestern.edu
Fri Jul 2 17:09:17 EDT 2004
The attached patch for RT 3.2.0 allows editing of custom fields when
updating (reply, comment or resolve) a ticket.
Complete directions are at
http://wiki.bestpractical.com/index.cgi?CustomFieldsOnUpdate.
Thanks to Ruslan Zakirov for the orignal patch against RT 3.0.
Michael
--
Michael S. Liebman m-liebman at northwestern.edu
http://msl521.freeshell.org/
"I have vision and the rest of the world wears bifocals."
-Paul Newman in "Butch Cassidy & the Sundance Kid"
-------------- next part --------------
diff -U3 share/html/Ticket/Display.html local/html/Ticket/Display.html
--- share/html/Ticket/Display.html 2004-06-27 19:05:17.000000000 -0400
+++ local/html/Ticket/Display.html 2004-07-01 12:35:56.000000000 -0400
@@ -115,6 +115,11 @@
my @BasicActions = ProcessTicketBasics(ARGSRef => \%ARGS, TicketObj=>$TicketObj);
my @results = ProcessTicketLinks( TicketObj => $TicketObj, ARGSRef => \%ARGS);
+ if ($RT::CustomFieldsOnReply) {
+ my @cf_results = ProcessTicketCustomFieldUpdates(ARGSRef => \%ARGS);
+ push(@results, @cf_results);
+ }
+
push (@Actions, @BasicActions, @results);
}
diff -U3 share/html/Ticket/Update.html local/html/Ticket/Update.html
--- share/html/Ticket/Update.html 2004-06-27 19:05:17.000000000 -0400
+++ local/html/Ticket/Update.html 2004-07-01 12:28:36.000000000 -0400
@@ -89,6 +89,11 @@
<& /Elements/MessageBox, Name=>"UpdateContent", %ARGS &>
% }
</td></tr>
+% if ($RT::CustomFieldsOnReply) {
+<tr><td COLSPAN=5>
+<& Elements/EditCustomFields, TicketObj => $TicketObj &>
+</td></tr>
+% }
</table>
More information about the rt-users
mailing list