[Rt-commit] [rtir] 02/10: Further porting to new lifecycle_ helpers
Jesse Vincent
jesse at bestpractical.com
Sat Feb 21 16:15:16 EST 2015
This is an automated email from the git hooks/post-receive script.
jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.
commit 2dda0c4334ff6bec150224faeaeb4496841161ef
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sat Feb 21 11:49:37 2015 -0800
Further porting to new lifecycle_ helpers
---
html/RTIR/Elements/AttachReports | 2 +-
html/RTIR/Elements/NewReports | 2 +-
html/RTIR/Incident/Children/index.html | 2 +-
html/RTIR/Report/BulkReject.html | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/html/RTIR/Elements/AttachReports b/html/RTIR/Elements/AttachReports
index baf4d3a..d4ec10d 100644
--- a/html/RTIR/Elements/AttachReports
+++ b/html/RTIR/Elements/AttachReports
@@ -74,7 +74,7 @@ return unless @parents;
my $siblings = RT::Tickets->new( $Ticket[0]->CurrentUser );
$siblings->FromSQL( RT::IR->Query(
- Lifecycle => 'incident_reports',
+ Lifecycle => RT::IR->lifecycle_report,
MemberOf => \@parents,
Exclude => \@Ticket,
) );
diff --git a/html/RTIR/Elements/NewReports b/html/RTIR/Elements/NewReports
index 0eb8d40..72e0b0f 100644
--- a/html/RTIR/Elements/NewReports
+++ b/html/RTIR/Elements/NewReports
@@ -96,7 +96,7 @@ my $BulkQS = $m->comp('/Elements/QueryString',
</%INIT>
<%ARGS>
-$Lifecycle => 'incident_reports'
+$Lifecycle => RT::IR->lifecycle_report
$BaseQuery => RT::IR->Query( Lifecycle => $Lifecycle )
$Query => undef
$Format => RT->Config->Get('RTIRSearchResultFormats')->{'NewReports'}
diff --git a/html/RTIR/Incident/Children/index.html b/html/RTIR/Incident/Children/index.html
index 6bbacea..4d870ba 100644
--- a/html/RTIR/Incident/Children/index.html
+++ b/html/RTIR/Incident/Children/index.html
@@ -118,7 +118,7 @@ $all_children->FromSQL( RT::IR->Query(
</%INIT>
<%ARGS>
$id => undef
-$Lifecycle => 'incident_reports'
+$Lifecycle => RT::IR->lifecycle_report
@SelectedTickets => ()
@Statuses => ()
diff --git a/html/RTIR/Report/BulkReject.html b/html/RTIR/Report/BulkReject.html
index 991edf4..32ec7dd 100644
--- a/html/RTIR/Report/BulkReject.html
+++ b/html/RTIR/Report/BulkReject.html
@@ -168,7 +168,7 @@ my $BaseURL = "RTIR/Report/BulkReject.html?"
</%INIT>
<%ARGS>
$Status => 'rejected'
-$Lifecycle => 'incident_reports'
+$Lifecycle => RT::IR->lifecycle_report
$Query => ''
$Format => RT->Config->Get('RTIRSearchResultFormats')->{'RejectReports'}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list