Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorsunnavy <sunnavy@bestpractical.com>2022-02-10 16:20:41 +0300
committersunnavy <sunnavy@bestpractical.com>2022-02-10 16:20:41 +0300
commit9012dca7c01d57087b3cd70d8f4c4303c0e7af0c (patch)
treea855cc6f5628da9d648ad7538e90758c30ea7967 /etc
parent426c5d9c3ea071c94c4817680cf96c43ec0f5e27 (diff)
parentc8274d29376025a7d97dbf712b6260d463bab26c (diff)
Merge branch '5.0/autocomplete-article-inclusion' into 5.0-trunk
Diffstat (limited to 'etc')
-rw-r--r--etc/RT_Config.pm.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index b0b0c5cc65..9717ac3a75 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2541,6 +2541,23 @@ preference.
Set($AutocompleteQueues, 0);
+=item C<$ArticleSearchFields>
+
+Used when searching for an Article to Include.
+
+Specifies which fields of L<RT::Article> to match against and how to match
+each field when autocompleting articles. Valid match methods are LIKE,
+STARTSWITH, ENDSWITH, =, and !=. Valid search fields are the core Article
+fields, as well as custom fields, including Content, which are specified as
+"CF.1234" or "CF.Name"
+
+=cut
+
+Set($ArticleSearchFields, {
+ Name => 'STARTSWITH',
+ Summary => 'LIKE',
+});
+
=item C<$UserSearchFields>
Used by the User Autocompleter as well as the User Search.