[ic] Empty search returns all products

mike karthauser interchange-users@icdevgroup.org
Mon Mar 17 12:29:01 2003


on 17/3/03 5:02 pm, Caleb Groom at caleb@hhhenterprises.com wrote:

> I found the mv_max_matches variable in the documentation but I don't believe
> that's what I'm needing here.  If a customer searches for 'foo' and we have
> 3500 foo products than I guess he should get them all.  What I'm trying to
> prevent is a customer from searching for '' and getting 6000 results.

You could just put a form validation field on the search box..
-- 
Mike Karthauser 
Managing Director - Brightstorm Ltd

Email       >> mikek@brightstorm.co.uk
Web         >> http://www.brightstorm.co.uk
Tel         >> 0117 9426653 (office)
               07939 252144 (mobile)

Snailmail   >> Unit 8, 14 King Square,
               Bristol BS2 8JJ