Last active
September 8, 2019 19:58
-
-
Save ig0r74/5f3dfc2513580346f6535d2edefc0059 to your computer and use it in GitHub Desktop.
Как в MODX (pdoResources) сортировать/выводить данные по диапазону чисел в TV-параметре?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[pdoResources? | |
&tpl=`showList` | |
&includeTVs=`number,image` | |
&limit=`10` | |
&prepareTVs=`number` | |
&where=`{"number:>=":"010","number:<=":"100"}` | |
]] | |
[[!pdoPage? | |
&limit=`5` | |
&element=`msListOrders` | |
&where=`{"msOrder.status:IN":[1,2,3,4]}` | |
]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment