List Info

Thread: Re: Excluding items in a soap search




Re: Excluding items in a soap search
user name
2007-08-22 16:21:53
 >> In Bric 1.8.5, is there a way I can soap list_ids
and pass an
 >> exclusionary parameter? For example, I want to get
all the
 >> new_releases that DO NOT have a thumbnail.
 >
 >No, I'm afraid not.
 >
 >> I did see the list thread titled "Story List
Utility Template" but
 >> have not read through the template yet. Does the
template provide
 >> this exclusionary functionality?
 >
 >No. In 1.10 you can exclude a given story:
 >
 >   --search exclude_id=1234
 >
 >But you can't do a "WHERE !=" in Bricolage.
Sorry.
 >
 >It could be added without too much trouble, I suppose,
if someone
 >wanted to work on a patch. You'd have to add a function
to
 >Bric::UtilBI like
ANY, but called NOT, that, when detected, simply
 >inverts the search.
 >
 >Best,
 >David


The API browser says that exclude_id can use ANY (in
$story->list),  
but I cannot get it to work. Does it work, or is it a
mistake in the  
docs?

--------------------

This email message is for the sole use of the intended
recipient(s) and
may contain privileged information. Any unauthorized review,
use,
disclosure or distribution is prohibited. If you are not the
intended
recipient, please contact the sender by reply email and
destroy all copies
of the original message.



Re: Excluding items in a soap search
user name
2007-08-30 11:40:31
On Aug 22, 2007, at 14:21, Ashlee Caul wrote:

> The API browser says that exclude_id can use ANY (in
$story->list),  
> but I cannot get it to work. Does it work, or is it a
mistake in  
> the docs?

If it doesn't work, it's a bug.

Best,

David

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )