[Rt-commit] rt branch, 4.4/serialize-json-initialdata, updated. rt-4.4.1-413-g7e77918
Shawn Moore
shawn at bestpractical.com
Wed Mar 22 18:02:33 EDT 2017
The branch, 4.4/serialize-json-initialdata has been updated
via 7e77918f54a2cf839e4764f8284568e765ea543e (commit)
from 079fd9bfb3de8984835233faab77dad9443042e6 (commit)
Summary of changes:
lib/RT/CustomField.pm | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit 7e77918f54a2cf839e4764f8284568e765ea543e
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Wed Mar 22 21:52:41 2017 +0000
Allow passing SortOrder to CustomField->Create
diff --git a/lib/RT/CustomField.pm b/lib/RT/CustomField.pm
index ae81702..4bace49 100644
--- a/lib/RT/CustomField.pm
+++ b/lib/RT/CustomField.pm
@@ -264,6 +264,7 @@ sub Create {
Pattern => '',
Description => '',
Disabled => 0,
+ SortOrder => 0,
LookupType => '',
LinkValueTo => '',
IncludeContentForValue => '',
@@ -360,6 +361,7 @@ sub Create {
ValuesClass => $args{'ValuesClass'},
Description => $args{'Description'},
Disabled => $args{'Disabled'},
+ SortOrder => $args{'SortOrder'},
LookupType => $args{'LookupType'},
UniqueValues => $args{'UniqueValues'},
CanonicalizeClass => $args{'CanonicalizeClass'},
-----------------------------------------------------------------------
More information about the rt-commit
mailing list