mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 16:19:06 +01:00
API::search method: fix handling custom attributes
This commit is contained in:
parent
d0397ec41e
commit
84c3cd0d9b
1 changed files with 3 additions and 1 deletions
|
@ -1644,7 +1644,9 @@ function handle_api_LSobject_search($request) {
|
|||
if (!LSsession :: canAccess($LSobject, $obj -> dn, 'r', $attr))
|
||||
continue;
|
||||
$export -> elements[$attr] -> setValue(
|
||||
$object -> attrs[$attr] -> getDisplayValue($obj -> $attr)
|
||||
$object -> attrs[$attr] -> html -> refreshForm(
|
||||
$object -> attrs[$attr] -> getFormVal($obj -> $attr)
|
||||
)
|
||||
);
|
||||
$data['objects'][$obj -> dn][$attr] = $export -> elements[$attr] -> getApiValue(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue