Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / rt / share / html / Admin / Queues / People.html
index 8a226e8..2d0bb91 100755 (executable)
@@ -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'}