Ignore:
Timestamp:
01/21/11 15:10:18 (13 years ago)
Author:
asaikawa
Message:

Ticket #317 - Criado parametro para permitir que a busca global seja selecionada ao abrir a janela de selecao

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/workflow/inc/class.ui_participants.inc.php

    r3167 r3715  
    9898                        $onlyVisibleAccounts = true; 
    9999 
     100                // the default value of $useGlobalSearch is false 
     101                if((isset($_REQUEST['useGlobalSearch'])) && (empty($_REQUEST['useGlobalSearch']) || $_REQUEST['useGlobalSearch'] === 'false')) 
     102                        $useGlobalSearch = false; 
     103                else 
     104                        $useGlobalSearch = true; 
     105 
    100106                /* define the initial organization */ 
    101107                $selectedOrganization = $ldap->getOrganizationFromDN($userDN); 
     
    133139                $smarty->assign('hideSectors', $hideSectors); 
    134140                $smarty->assign('onlyVisibleAccounts', $onlyVisibleAccounts); 
     141                $smarty->assign('useGlobalSearch', $useGlobalSearch); 
    135142                $smarty->assign('header', $smarty->expressoHeader); 
    136143                $smarty->assign('txt_loading', lang("loading")); 
Note: See TracChangeset for help on using the changeset viewer.