[Rt-commit] rt 03/04: Add default @HistoryFilterTypes config

craig kaiser craig at bestpractical.com
Thu Aug 5 16:07:39 UTC 2021


This is an automated email from the git hooks/post-receive script.

craig pushed a commit to branch 5.0/core-history-filter
in repository rt.

commit 1c2b20c41f147aa98e201f732b13bfd83299d0fd
Author: craig kaiser <craig at bestpractical.com>
AuthorDate: Mon Jul 12 11:27:17 2021 -0400

    Add default @HistoryFilterTypes config
---
 etc/RT_Config.pm.in | 9 +++++++++
 lib/RT/Config.pm    | 6 ++++++
 2 files changed, 15 insertions(+)

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 6576ec8a78..b6ffaf3cf7 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2764,6 +2764,15 @@ Set(%PriorityAsString,
 
 =back
 
+=item C<@HistoryFilterTypes>
+
+Transaction types that ticket history can be filtered by, the default options
+are 'Create', 'Correspond' and 'Comment'.
+
+=cut
+
+Set(@HistoryFilterTypes, qw(Create Correspond Comment));
+
 =head2 Group Summary Configuration
 
 Below are configuration options for the Group Summary page.
diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index 6286872212..7ef125316d 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -1521,6 +1521,12 @@ our %META;
             }
         },
     },
+    HistoryFilterTypes => {
+        Type            => 'ARRAY',
+        WidgetArguments => {
+            Description => 'Transactions that history can be sorted by' # loc
+        }
+    },
     ServiceBusinessHours => {
         Type => 'HASH',
         PostLoadCheck   => sub {

-- 
To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.


More information about the rt-commit mailing list