[Rt-commit] rt branch, 5.0/group-default-values, created. rt-5.0.0-187-gfd333f8932
Craig Kaiser
craig at bestpractical.com
Mon Jan 4 15:35:18 EST 2021
The branch, 5.0/group-default-values has been created
at fd333f8932a868df953ee1d59baf54598239fb37 (commit)
- Log -----------------------------------------------------------------
commit fd333f8932a868df953ee1d59baf54598239fb37
Author: craig kaiser <craig at bestpractical.com>
Date: Mon Jan 4 15:32:35 2021 -0500
Add support for default custom field values for groups
diff --git a/lib/RT/CustomField.pm b/lib/RT/CustomField.pm
index ae1ac0bd19..a05b9dfac4 100644
--- a/lib/RT/CustomField.pm
+++ b/lib/RT/CustomField.pm
@@ -2175,7 +2175,7 @@ sub BasedOnObj {
sub SupportDefaultValues {
my $self = shift;
return 0 unless $self->id;
- return 0 unless $self->LookupType =~ /RT::(?:Ticket|Transaction|Asset)$/;
+ return 0 unless $self->LookupType =~ /RT::(?:Ticket|Transaction|Asset|Group)$/;
return $self->Type !~ /^(?:Image|Binary)$/;
}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list