summaryrefslogtreecommitdiffstats
path: root/lib/Auth
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2021-11-08 14:11:43 +0100
committerAleksander Machniak <machniak@kolabsys.com>2021-11-08 14:11:43 +0100
commitd2f531414aa7020909a419bc3bf2162ef88969a5 (patch)
tree8be03a6669b13eff3c274177659a99c9392c1ff6 /lib/Auth
parent80be13093571b40f057afaac31105236dcd0e5b2 (diff)
downloadwebadmin-d2f531414aa7020909a419bc3bf2162ef88969a5.tar.gz
Get rid of VLV sort parameter use to prefer default VLV sorting orderHEADkolab-webadmin-3.2.16master
...and in fact make VLV search working.
Diffstat (limited to 'lib/Auth')
-rw-r--r--lib/Auth/LDAP.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index aac6df8..9d0b014 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -1135,7 +1135,9 @@ class LDAP extends Net_LDAP3 {
// LDAP3 search parameters
$opts = array(
'search' => $search,
- 'sort' => $params['sort_by'], // for VLV
+ // T409349: Remove the 'sort' parameter to use default VLV sorting
+ // If the param value is not the same as in VLV, search will not use the index.
+ // 'sort' => $params['sort_by'], // for VLV
);
$result = $this->search_entries($base_dn, $filter, $scope, $attributes, $opts);