]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Admin/Queues/People.html
Putting 4.2.0 on top of 4.0.17
[usit-rt.git] / share / html / Admin / Queues / People.html
index e7cdd47e126a96cf47e1d549e328347650143da7..9c17d4846a91792a690b671eacf8b3d7b9febf35 100644 (file)
@@ -174,10 +174,7 @@ if ( $ARGS{'UserString'} ) {
 
 if ( $ARGS{'GroupString'} ) {
     $Groups = RT::Groups->new( $session{'CurrentUser'} );
-    $Groups->Limit( FIELD    => 'Domain',
-                    OPERATOR => '=',
-                    VALUE    => 'UserDefined'
-                  );
+    $Groups->LimitToUserDefinedGroups;
     $Groups->Limit( FIELD    => $ARGS{'GroupField'},
                     VALUE    => $ARGS{'GroupString'},
                     OPERATOR => $ARGS{'GroupOp'}