-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search results are not sorted #182
Comments
Hello @cmaudoux It seems ok on my side. The tricky side here is that you have to define the sorting column in the search_result_times variable, like:
but you have already done this. For information, the good way to declare the sortby option is by using the key and not the attribute value. For example:
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, Note:
|
Hi @davidcoutadeur Pbe is you can sort by displayed attribute only. 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: