[Rt-commit] rt branch, 5.0/group-selfservice-callback, created. rt-5.0.0-10-g17b17cbc60

Jim Brandt jbrandt at bestpractical.com
Fri Sep 4 15:48:44 EDT 2020


The branch, 5.0/group-selfservice-callback has been created
        at  17b17cbc603b24220b69677efef98a141b0adcc4 (commit)

- Log -----------------------------------------------------------------
commit 17b17cbc603b24220b69677efef98a141b0adcc4
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Sep 3 15:23:54 2020 -0400

    Add callback for modifying the group query

diff --git a/share/html/SelfService/Elements/MyGroupRequests b/share/html/SelfService/Elements/MyGroupRequests
index 702f0d4a11..70fa2456c6 100644
--- a/share/html/SelfService/Elements/MyGroupRequests
+++ b/share/html/SelfService/Elements/MyGroupRequests
@@ -107,6 +107,10 @@ if ($status) {
 }
 
 my $Format = RT->Config->Get('DefaultSelfServiceSearchResultFormat');
+
+$m->callback( CallbackName => 'ModifyQuery', ARGSRef => \%ARGS, Query => \$Query, Page => \$Page,
+    Rows => \$Rows, Order => \@Order, OrderBy => \@OrderBy, Format => \$Format );
+
 </%INIT>
 <%ARGS>
 $title => undef

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


More information about the rt-commit mailing list