Answer the question
In order to leave comments, you need to log in
Why is Pdoresource handling the where condition incorrectly?
Hello!
Straight to the point. Snippet code:
<?php
$where = array(
'Lo:>=' => 100,
'Lo:<=' => 140,
);
$where = $modx->toJSON($where);
$output = $modx->runSnippet('pdoResources',array(
'limit' => 15,
'parents' => 71,
'includeTVs' => 'Lo',
'where' => $where,
'return' => 'json'
));
return $output;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question