PATCH: Can't see disabled groups in 3.6rc3

The “Show disabled Groups” checkbox does nothing in RT 3.6rc3

*** /usr/local/rt/share/html/Admin/Groups/index.html 2006-01-11
19:04:46.000000000 -0800
— /tmp/index.html 2006-06-08 10:41:17.963461848 -0700
*** 75,80 ****
— 75,85 ----
<%INIT>
my $Groups = RT::Groups->new($session{‘CurrentUser’});
$Groups->LimitToUserDefinedGroups();

  • if ($FindDisabledGroups) {
  •     $Groups->{'find_disabled_rows'} = 1;
    
  • }
    my $title = loc(‘Select a group’);
    my $caption;

I’d use the patch I posted earlier:
http://lists.fsck.com/pipermail/rt-devel/2006-April/008397.html

Better to use the APIs ($Groups->FindAllRows():wink: than modifying Perl
objects directly.

  • Dmitri.On Thu, 2006-06-08 at 13:32 -0400, Philip Kime wrote:

The “Show disabled Groups” checkbox does nothing in RT 3.6rc3

*** /usr/local/rt/share/html/Admin/Groups/index.html 2006-01-11
19:04:46.000000000 -0800
— /tmp/index.html 2006-06-08 10:41:17.963461848 -0700


*** 75,80 ****
— 75,85 ----
<%INIT>
my $Groups = RT::Groups->new($session{‘CurrentUser’});
$Groups->LimitToUserDefinedGroups();
+

  • if ($FindDisabledGroups) {
  •     $Groups->{'find_disabled_rows'} = 1;
    
  • }
  • my $title = loc(‘Select a group’);
    my $caption;

plain text document attachment (ATT3565633.txt), “ATT3565633.txt”


List info: The rt-devel Archives

Best Practical is hiring! Come hack Perl for us: Careers — Best Practical Solutions