Jump to content

Using custom sorting options


Peter Oehman
 Share

Recommended Posts

In a file that I didn't write there is a WireArray::filter() with sort=COMPANY_NAME_sort_order. Reading the sort sectio of the processwire selectors documentation gave me the impression that you can only sort by fields, however COMPANY_NAME_sort_order isn't a field. What am I missing?

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...