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 →

Sort by calculated value

André August 5, 2019 by André

I have a scorerlist for a sports team where i fill in the goals and assists in the backend. Now i try to sort them by the scored points (points=2*goals+assists) and i can not figure out how to do it.

Does anyone have an idea how to do something like this?

{{ scorerlist sort="2*goals+assists" }}
Answered by André!
>>>>>>> Answered <<<<<<<
2 Replies
2 Followers