Changeset 1626 for trunk


Ignore:
Timestamp:
01/11/16 11:43:43 (9 years ago)
Author:
nanardon
Message:

Fix dmpt view

Location:
trunk/LATMOS-Accounts-Web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Groups.pm

    r1337 r1626  
    7676            $c->stash->{template} = 'groups/dpmt.tt'; 
    7777            my @filter = (); 
    78             push(@filter, 'active=*') if (!$c->req->param('inactive')); 
     78            push(@filter, 'active=1') if (!$c->req->param('inactive')); 
    7979            push(@filter, 'mail=*') if ($c->req->param('mail')); 
    8080            push(@filter, 'company=' . $c->req->param('company')) if 
  • trunk/LATMOS-Accounts-Web/root/html/groups/dpmt.tt

    r1211 r1626  
    1010<div style="margin: 2em; border: outset;"> 
    1111<form action="[% c.uri_for(groupname, 'dpmt') %]"> 
    12 <input id="inactive" type="checkbox" name="inactive" value="1" [% "checked" IF c.req.param('inactive') %]"> 
     12<input id="inactive" type="checkbox" name="inactive" value="1" [% "checked" IF c.req.param('inactive') %]> 
    1313<label for="inactive">Inclure les comptes inactifs</label><br> 
    14 <input id="mail" type="checkbox" name="mail" value="1" [% "checked" IF c.req.param('mail') %]"> 
     14<input id="mail" type="checkbox" name="mail" value="1" [% "checked" IF c.req.param('mail') %]> 
    1515<label for="mail">Afficher les mails</label><br> 
    1616 
Note: See TracChangeset for help on using the changeset viewer.