Jump to content

Sort in multi-language text field


Orkun
 Share

Recommended Posts

I have a find statement where I am doing 

sort=doctors_last_name

The field is a multi-language text field. It is not required.

The doctors should be ordered alphabetically.

The problem is now, that the field is sometimes empty in the default language and because
of that the doctors with the empty lastname get prepended to the beginning.

Sorting in memory is not an option, since I am using pagination and there are also over 2000 Doctors.

How does the sort in selector exactly work? Does it look first in the current language and then as a fallback to the default language?

KR
Orkun

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...