mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
Fix problem when onlyAccessible parameter is set to True in LSobject configuration file
This commit is contained in:
parent
c7cd3e9e8f
commit
0f1fe9a99c
2 changed files with 9 additions and 0 deletions
|
@ -26,6 +26,7 @@ configuration des &LSobjects;, dans la variable <varname>LSsearch</varname>
|
|||
'recursive' => [boolean],
|
||||
'approx' => [boolean],
|
||||
'withoutCache' => [boolean],
|
||||
'onlyAccessible' => [boolean],
|
||||
// Paramètres de tri
|
||||
'sortBy' => [displayName|subDn],
|
||||
'sortDirection' => [ASC|DESC],
|
||||
|
@ -179,6 +180,13 @@ contexte dans lequel cette recherche est effectuée.</para>
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>onlyAccessible</term>
|
||||
<listitem>
|
||||
<simpara>Booléen déterminant si seul les objets accessibles à l'utilisateur connecté doivent être retournés par la recherche.</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>sortBy</term>
|
||||
<listitem>
|
||||
|
|
|
@ -1555,6 +1555,7 @@ class LSsession {
|
|||
$params = array(
|
||||
'basedn' => isset($filter_def['basedn']) ? $filter_def['basedn'] : $basedn,
|
||||
'filter' => $filter,
|
||||
'onlyAccessible' => False
|
||||
);
|
||||
if (isset($filter_def['params']) && is_array($filter_def['params'])) {
|
||||
$params = array_merge($filter_def['params'],$params);
|
||||
|
|
Loading…
Reference in a new issue