[Rt-commit] rt branch, 5.0/group-selfservice-callback, created. rt-5.0.0-10-g05c933e6cf
Jim Brandt
jbrandt at bestpractical.com
Thu Sep 3 15:24:03 EDT 2020
The branch, 5.0/group-selfservice-callback has been created
at 05c933e6cf05c281ae0f0bbf2fb023e9f24f32e9 (commit)
- Log -----------------------------------------------------------------
commit 05c933e6cf05c281ae0f0bbf2fb023e9f24f32e9
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..08fcfb4afe 100644
--- a/share/html/SelfService/Elements/MyGroupRequests
+++ b/share/html/SelfService/Elements/MyGroupRequests
@@ -106,6 +106,9 @@ if ($status) {
$Query .= " AND Status = '$status'";
}
+$m->callback( CallbackName => 'ModifyQuery', ARGSRef => \%ARGS, Query => \$Query,
+ Rows => \$Rows, Order => \@Order, OrderBy => \@OrderBy );
+
my $Format = RT->Config->Get('DefaultSelfServiceSearchResultFormat');
</%INIT>
<%ARGS>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list