Menu

default group displayed

Help
renic
2006-12-06
2013-05-02
  • renic

    renic - 2006-12-06

    When you log into tabr, or return to list.php without designating a group to view, it defaults to showing all unhidden entries.  I would like for the script to display only contacts in a certain group... i.e. the group foobar.

    How can i do it?

     
    • katzlbt

      katzlbt - 2006-12-07

      Change line 24 in list.php and replace the empty string with the group name.

      if (!isset($_GET['group']) || $_GET['group'] == 'hidden' && !$_SESSION['user']->isAtLeast('admin'))
              $_GET['group'] = '';

       

Log in to post a comment.