Advertisement:

Author Topic: Order search results by a custom field  (Read 721 times)

osbegin

  • Newbie
  • *
  • Posts: 2
Order search results by a custom field
« on: April 16, 2016, 01:39:56 pm »
Hello everybody,

How can we sort the search results based on custom fields.
Note that we may have more than one custom field of the same type.
for example we have two custom fields: name: TEXT, lastname:TEXT
and we want to order the search results based on lastname.

Thank you.