summaryrefslogtreecommitdiff
path: root/rt/html/Admin/Groups/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'rt/html/Admin/Groups/index.html')
-rw-r--r--rt/html/Admin/Groups/index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/rt/html/Admin/Groups/index.html b/rt/html/Admin/Groups/index.html
index 57c86c90e..f3ae2305a 100644
--- a/rt/html/Admin/Groups/index.html
+++ b/rt/html/Admin/Groups/index.html
@@ -32,12 +32,24 @@
<LI><A HREF="Modify.html?id=<%$Group->id%>"><%$Group->Name || loc('(empty)')%></a><BR>
%}
</UL>
+<br><br>
+<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Groups/index.html">
+<input type="checkbox" name="FindDisabledGroups"> <&|/l&>Include disabled groups in listing.</&>
+<BR>
+<div align=right><input type=submit value="<&|/l&>Go!</&>"></div>
+</FORM>
<%INIT>
my $Groups = RT::Groups->new($session{'CurrentUser'});
+
+if ($FindDisabledGroups) {
+ $Groups->{'find_disabled_rows'} = 1;
+}
+
$Groups->LimitToUserDefinedGroups();
my $title = loc('Select a group');
</%INIT>
<%ARGS>
+$FindDisabledGroups => 0
</%ARGS>