[Rt-commit] rtir branch, 5.0/restore-incidents-and-investigations-on-create, repushed
Blaine Motsinger
blaine at bestpractical.com
Fri May 22 20:13:22 EDT 2020
The branch 5.0/restore-incidents-and-investigations-on-create was deleted and repushed:
was 180dc1a42bdea5d03481ce7ad10e6b8130e18736
now b80d086cfb1f48ed0e2b8f05aa63c0d5deefe064
1: 18fbd784 ! 1: fb4aafbe Core RT::Extension::CreateIncidentAndInvestigation
@@ -32,23 +32,9 @@
% ChildObj => $ChildObj, SplitObj => $SplitObj, ARGSRef => \%ARGS );
@@
- last;
- }
-
--
- my $QueueObj = RT::Queue->new($session{'CurrentUser'});
- $QueueObj->Load( $ARGS{Queue} );
-
-@@
- Abort( loc("Queue '[_1]' could not be loaded.", $ARGS{Queue}) );
+ Abort( loc("Queue '[_1]' could not be loaded.", $queue) );
}
-+# Ensure the consistuency is set based on the incident queue.
-+# The investigations queue needs to correspond to the selected incidents queue not just the default one.
-+unless ($constituency) {
-+ $constituency = RT::IR->ConstituencyFor($QueueObj);
-+}
-+
+# Load appropriate Investigations queue
+my $InvestigationsQueue = 'Investigations' . ( $constituency ? ' - ' . $constituency : '' );
+my $InvestigationsQueueObj = RT::Queue->new( $session{'CurrentUser'} );
2: c62411be = 2: 6b6ff8c1 Migrate Investigation/Elements/Create to elevator themes
3: cfdf08ed = 3: 7ac8ea18 Replace Cc and AdminCc helper text with tooltips
4: 26f55f2f = 4: 3b7f1ed8 Add DefaultInvestigationsQueue RTIR config option
5: 910d4031 ! 5: a314f50a Allow investigation queue to be selected
@@ -13,7 +13,7 @@
--- a/html/RTIR/Incident/Create.html
+++ b/html/RTIR/Incident/Create.html
@@
- }
+ }
# Load appropriate Investigations queue
-my $InvestigationsQueue = 'Investigations' . ( $constituency ? ' - ' . $constituency : '' );
6: 180dc1a4 < -: ------- Use DefaultInvestigationsQueue on incident create
-: ------- > 6: b80d086c Use DefaultInvestigationsQueue on incident create
More information about the rt-commit
mailing list