New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Combining Sort and Where

Joseph M.K. September 6, 2020 by Joseph M.K.

I'm trying to do something like:


The sort works fine, but the where don't seem to work as expected, it's a predefined Select fieldtype.

PS I was unsure to use the | or && to have multiple condition in one statement, with or without it still don't work as expected...

What am I doing wrong?

Answered by Erin Dalzell!
>>>>>>> Answered <<<<<<<
1 Reply