Re: "where" clause in dynamicdata getitems
Warren Dodd <xaraya-LEhBhSg3lrt/[email protected]> Sat, 11 Oct 2008 09:12:07 -0400
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
Ryan Walker wrote:
> I found something in the bug tracker that mentions a patch to implement
> the "wheredd" parameter, but it's not something that has been
> implemented... at least not in Xaraya 1.1.3. I guess I could try that
> patch, but I like to stick with the functionality in the normal Xaraya
> releases. So I figured I would use dynamicdata getitems to get a list
> of itemids and then feed those itemids to the articles getall function.
> I just can't seem to get the "where" clause to work in the dynamicdata
> getitems function.
>
Ryan,
I have this working in 1.13:
<xar:set
name="tempArray">xarModAPIfunc('articles','user','getall',array('ptid'=>##,'extra'=>array('dynamicdata'),'wheredd'=>("SOMETHING
eq 'SOMETHING'")))</xar:set>
Warren