You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For information, the good way to declare the sortby option is by using the key and not the attribute value. For example:
$search_result_sortby = 'lastname';
Could you give more info on your issue? Especially, could you give an example of incorrect lastname sorting? When this occurs, do you see the small ordering triangle near the lastname column?
Regards,
David
Note:
maybe we could do some optimization here, as the ldap entries are sorted in ltb-common library, and are re-sorted by the javascript library?
Pbe is you can sort by displayed attribute only.
By example, I would like to display $search_result_items = array('identifier', 'mail');
and sort by $search_result_sortby = "lastname";
Maybe removing JS sort process could solve this pbe...
Pbe is you can sort by displayed attribute only. By example, I would like to display $search_result_items = array('identifier', 'mail'); and sort by $search_result_sortby = "lastname";
Maybe removing JS sort process could solve this pbe...
Hello Christophe,
Actually, the sort is done at two places: in the php code and in the js. So indeed, if you disable the sorting at javascript side, this should do the trick.
Set params like this:
Maybe I do not understand and there is a misconfiguration...
Results are not sorted by lastname or last column.
I tried $search_result_sortby = "sn";
and it is the same.
Seems results are always sorted by mail...
The text was updated successfully, but these errors were encountered: