diff options
author | craig kaiser <craig@bestpractical.com> | 2021-01-04 23:32:35 +0300 |
---|---|---|
committer | Jim Brandt <jbrandt@bestpractical.com> | 2022-09-28 17:41:42 +0300 |
commit | 82569ebf732cdbf0e7629eb407ebdd0382d6825d (patch) | |
tree | 4736c14329a1a95eba06c797e4029de66831d316 | |
parent | 712515e60e874f7f9b34affb909461d702582d04 (diff) |
Allow default custom field values for more objects
This change shows the default value option in the custom
field admin page for more objects. Once set, the default is
populated on the create page for these objects.
-rw-r--r-- | lib/RT/CustomField.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/RT/CustomField.pm b/lib/RT/CustomField.pm index c0112ae7da..3f78fc216b 100644 --- a/lib/RT/CustomField.pm +++ b/lib/RT/CustomField.pm @@ -2276,7 +2276,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|User|Article)$/; return $self->Type !~ /^(?:Image|Binary)$/; } |