[Rt-commit] rt branch, 4.4/users-helper-callback, created. rt-4.4.2-43-gac6ee1a

Jim Brandt jbrandt at bestpractical.com
Thu Oct 26 13:21:45 EDT 2017


The branch, 4.4/users-helper-callback has been created
        at  ac6ee1a45f4fbbff26590c5a3a4e925457a46c2d (commit)

- Log -----------------------------------------------------------------
commit ac6ee1a45f4fbbff26590c5a3a4e925457a46c2d
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Oct 26 13:21:36 2017 -0400

    Add Initial callback to access incoming values

diff --git a/share/html/Helpers/Autocomplete/Users b/share/html/Helpers/Autocomplete/Users
index 0fb505b..22d3ca1 100644
--- a/share/html/Helpers/Autocomplete/Users
+++ b/share/html/Helpers/Autocomplete/Users
@@ -64,6 +64,9 @@ $include_system => 0
 $return = 'EmailAddress'
     unless $return =~ /^(?:EmailAddress|Name|RealName)$/;
 
+$m->callback( CallbackName => 'Initial', ReturnRef => \$return, TermRef => \$term,
+              DelimRef => \$delim, ExcludeRef => \$exclude);
+
 $m->abort unless defined $return
              and defined $term
              and length $term;

-----------------------------------------------------------------------


More information about the rt-commit mailing list