Jump to content

ProcessWire find help ("text=a, sort=price, text=b, sort=price")


cb2004
 Share

Recommended Posts

Hi all, hope everyone is well.

So, I want to return the results where the text field matches 'a' and sort those by 'price', then display the results where the text field matches 'b' and sort those by 'price'. Is ProcessWire capable of this or do I just need to do a couple of foreach?

Link to comment
Share on other sites

Ok it got a bit more interesting. Text could have Available, Coming Soon or Not Available with prices. I want them to appear like:

Available sorted by price

Not Available sorted by price

Coming Soon sorted by price

Easily done with 3 foreach blocks but was just curious.

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