mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +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'];
|
$sortBy = $this -> params['sortBy'];
|
||||||
$sortDirection = $this -> params['sortDirection'];
|
$sortDirection = $this -> params['sortDirection'];
|
||||||
if ($sortDirection=='ASC') {
|
if ($sortDirection=='ASC') {
|
||||||
$dir = -1;
|
$dir = 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$dir = 1;
|
$dir = -1;
|
||||||
}
|
}
|
||||||
$oa = new LSsearchEntry($this,$this -> LSobject,$this -> params,$this -> _hash,$this -> result['list'],$a);
|
$oa = new LSsearchEntry($this,$this -> LSobject,$this -> params,$this -> _hash,$this -> result['list'],$a);
|
||||||
$va = $oa->$sortBy;
|
$va = $oa->$sortBy;
|
||||||
|
|
Loading…
Reference in a new issue