forked from extern/egroupware
fix still not working sync-report for accounts addressbook
turns out Microsoft AD also returns a "Virtual List View error" if sorting by standard LDAP (modify|created)timestamp, have to use when(Changed|Created) instead, as for filter
This commit is contained in:
parent
676fe9b36f
commit
ff47694b24
@ -1129,6 +1129,11 @@ class Ldap
|
||||
{
|
||||
if (($attr = array_search($matches[2], $this->timestamps2egw)))
|
||||
{
|
||||
// Microsoft AD can NOT VLV sort by (modify|create)TimeStamp, we have to use when(Created|Changed) attribute
|
||||
if (static::class === Ads::class)
|
||||
{
|
||||
$attr = $attr === 'modifytimestamp' ? 'whenChanged' : 'whenCreated';
|
||||
}
|
||||
$values[] = [
|
||||
'attr' => $attr,
|
||||
// use default match 'oid' => '',
|
||||
|
Loading…
Reference in New Issue
Block a user