[Rt-commit] rt branch, 4.4/select-status-default-lifecycle-type, created. rt-4.4.1-123-g20f943130
Jim Brandt
jbrandt at bestpractical.com
Tue Apr 30 09:30:43 EDT 2019
The branch, 4.4/select-status-default-lifecycle-type has been created
at 20f9431301cdb0a2d2be1abb3f82ad30042ffd4e (commit)
- Log -----------------------------------------------------------------
commit 20f9431301cdb0a2d2be1abb3f82ad30042ffd4e
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed Nov 2 09:32:15 2016 -0400
Default lifecyle type to ticket on SelectStatus
fbd25c2be updated the the call to RT::Lifecycle->Load
to include Type to accomodate objects other than tickets
that have lifecycles, specifically assets. This caused issues
with pages in RTIR that used SelectStatus but didn't pass
Type. Default to tickets rather than undef for existing cases.
diff --git a/share/html/Elements/SelectStatus b/share/html/Elements/SelectStatus
index 3183a9005..27afe7721 100644
--- a/share/html/Elements/SelectStatus
+++ b/share/html/Elements/SelectStatus
@@ -127,7 +127,7 @@ my $group_by_lifecycle = keys %statuses_by_lifecycle > 1;
</%INIT>
<%ARGS>
$Name => undef
-$Type => undef,
+$Type => 'ticket'
@Statuses => ()
$Object => undef,
-----------------------------------------------------------------------
More information about the rt-commit
mailing list