Answer the question
In order to leave comments, you need to log in
How to sort/display data in MODX (pdoResources) by a range of numbers in a TV parameter?
Greetings
I dug into pdoResources just now, but did not understand how to display only those resources for which the numerical value of the tv-parameter falls within a certain range.
Let's say that there are 100 resources with values in the TV parameter from one to one hundred. Let's get this whole thing out:
Answer the question
In order to leave comments, you need to log in
number - string with three characters (000)
&prepareTVs=`number`
&where=`{"number:>=":"010","number:<=":"100"}`
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question