[ic] random items search - not doing quite what I expected

Stefan Hornburg racke at linuxia.de
Sat Feb 7 15:51:25 EST 2004

On Sat,  7 Feb 2004 17:15:08 +0000
Tom Hodder <tom at ecnow.co.uk> wrote:

> Hi,
> I've modified the "random items" component, as I would like it to only return
> items with thumbnails, I couldn't get it to work with the op=!=, so I decided
> to just get it to return items without a thumbnail.
> However, this query is returning only items with a thumbnail, even though I
> would expect it to return only items without a thumb nail.
> [loop
> 	random="[control matches 2]"
> 	search="
> 		fi=products
> 		st=db
> 		ml=[control pool 1000]
> 		op=eq
> 		sf=thumb
> 		se=
> "]
> Any ideas on what I am doing wrong?

Try to add co=1, maybe this makes a difference.


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list