Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

&where parameter not working in MODx 2.2.0 #35

Open
thecodemancer opened this issue Feb 1, 2012 · 0 comments
Open

&where parameter not working in MODx 2.2.0 #35

thecodemancer opened this issue Feb 1, 2012 · 0 comments

Comments

@thecodemancer
Copy link

Hi,

I got this getImageList code in a chunk:

[[!getImageList?
&docid=36
&tvname=banner_principal
&where={"titulo":="sometitlehere"}
]]

but it does not work. I also check in core/components/migx/model/migx/migx.class.php and the function filterItems($items) only have 1 parameter, instead of two, like in the snippet:

// where filter
if (is_array($where) && count($where) > 0) {
$items = $migx->filterItems($where,$items);
}

Tested in MODX Revolution 2.2.0-pl2 (traditional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant