[Rt-commit] r10027 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Elements

ruz at bestpractical.com ruz at bestpractical.com
Thu Dec 20 15:12:19 EST 2007


Author: ruz
Date: Thu Dec 20 15:12:17 2007
New Revision: 10027

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Elements/Create

Log:
* adjust constituency defaulting for incidents

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Elements/Create
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Elements/Create	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Elements/Create	Thu Dec 20 15:12:17 2007
@@ -42,6 +42,7 @@
 % if ( !$ChildObj || RT->Config->Get('_RTIR_Constituency_Propagation') eq 'no' ) {
 % my $default;
 % $default = $ChildObj->FirstCustomFieldValue('_RTIR_Constituency') if $ChildObj;
+% $default ||= RT::IR::DefaultConstituency( $QueueObj );
 % $default ||= scalar RT->Config->Get('_RTIR_Constituency_default');
 <& /RTIR/Elements/EditRTIRField,
     QueueObj => $QueueObj,


More information about the Rt-commit mailing list