mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
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
5a2eb5b987
commit
c6f447f49c
@ -1129,6 +1129,11 @@ class Ldap
|
|||||||
{
|
{
|
||||||
if (($attr = array_search($matches[2], $this->timestamps2egw)))
|
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[] = [
|
$values[] = [
|
||||||
'attr' => $attr,
|
'attr' => $attr,
|
||||||
// use default match 'oid' => '',
|
// use default match 'oid' => '',
|
||||||
|
Loading…
Reference in New Issue
Block a user