Skip to content

Commit 16ba2c1

Browse files
committed
Add Initial callback to /Helpers/Autocomplete/Owners
Allow site admins to manipulate the search term for autocompleting owners.
1 parent 30355a8 commit 16ba2c1

File tree

1 file changed

+5
-0
lines changed
  • share/html/Helpers/Autocomplete

1 file changed

+5
-0
lines changed

share/html/Helpers/Autocomplete/Owners

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ $term => undef
5555
$max => undef
5656
</%ARGS>
5757
<%INIT>
58+
$m->callback(
59+
CallbackName => 'Initial',
60+
TermRef => \$term,
61+
);
62+
5863
# Only allow certain return fields
5964
$return = 'Name'
6065
unless $return =~ /^(?:EmailAddress|Name|RealName|id)$/;

0 commit comments

Comments
 (0)