1

I set up a view with search api data according to this, but the sort criteria available in each view are not complete. I'd like to sort on some fields (indexed) that are not showing in the list. I'm wondering if I need to use a hook to alter the query, or if there's a configuration option somewhere that I've not read about.

1
  • exactly what you want to sort?
    – Yuseferi
    Commented Nov 22, 2013 at 17:03

1 Answer 1

4

I just discovered that if I re-index the fields (in this case, first name and last name) as strings, rather than the default fulltext, they are made available to sort on in views. This is great news.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.