[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.1-447-ge92746c591

? sunnavy sunnavy at bestpractical.com
Fri Jun 11 14:57:11 EDT 2021


The branch, 5.0-trunk has been updated
       via  e92746c591ee40054ff869ccef06f6ec8e9c4554 (commit)
      from  3d4461069a050df63a7201e12063e87d6f920fff (commit)

Summary of changes:
 share/html/User/Search.html | 1 +
 1 file changed, 1 insertion(+)

- Log -----------------------------------------------------------------
commit e92746c591ee40054ff869ccef06f6ec8e9c4554
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sat Jun 12 02:53:14 2021 +0800

    Add ModifyUsersLimit callback to user search page
    
    It's mirrored from user autocomplate page.

diff --git a/share/html/User/Search.html b/share/html/User/Search.html
index 45aaa60642..ae0d157b9a 100644
--- a/share/html/User/Search.html
+++ b/share/html/User/Search.html
@@ -88,6 +88,7 @@ if ( $UserString ) {
                           Term      => $UserString,
                           Max       => 100,
                           Exclude   => $exclude );
+    $m->callback( CallbackName => "ModifyUsersLimit", Users => $users, Term => $UserString, ARGSRef => \%ARGS );
     my $first = $users->First;
     RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."User/Summary.html?id=".$first->Id)
         if $users->Count == 1;

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


More information about the rt-commit mailing list