mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
LSsearch : fix bug in sort direction
This commit is contained in:
parent
daf0715356
commit
50511900a4
1 changed files with 2 additions and 2 deletions
|
@ -1099,10 +1099,10 @@ class LSsearch {
|
|||
$sortBy = $this -> params['sortBy'];
|
||||
$sortDirection = $this -> params['sortDirection'];
|
||||
if ($sortDirection=='ASC') {
|
||||
$dir = -1;
|
||||
$dir = 1;
|
||||
}
|
||||
else {
|
||||
$dir = 1;
|
||||
$dir = -1;
|
||||
}
|
||||
$oa = new LSsearchEntry($this,$this -> LSobject,$this -> params,$this -> _hash,$this -> result['list'],$a);
|
||||
$va = $oa->$sortBy;
|
||||
|
|
Loading…
Reference in a new issue