[IC] Limit Results from Catagory List selection

Craig Halverson n0va at nbnet.nb.ca
Wed Oct 15 15:16:08 EDT 2003


On Wednesday 15 October 2003 15:13, Paul Vinciguerra wrote:
> On Wed, 15 Oct 2003 08:51:27 -0700, Ed LaFrance wrote
>
> > At 01:36 PM 10/15/2003 +0200, you wrote:
> > >Quoting Craig Halverson <n0va at nbnet.nb.ca>:
> > >>On Wednesday 15 October 2003 05:01, Rene Hertell wrote:
> > >> > > Hey everyone,
> > >> > >     I've been poking around IC for a short while.  I have a
> > >> > > functional setup now
> > >> > > with Canada Post Shipping, and a product database and whatnot.
> > >> > > I'm wondering
> > >> > > where i'd go about setting my ml= to return 20 results from a
>
> category
>
> > >> > > selection from the left category list instead of the default 50
> > >> > > it gives.
> > >> > > I've looked through all the default files and cant find any
>
> reference to
>
> > >> > > ml=50 or matchlimit=50 anywhere.
> > >> >
> > >> > You have to add mv_matchlimit (or ml) to your query/search. IC uses
> > >> > by default 50 if nothing is specified..
> > >> >
> > >> >
> > >> > René
> > >>
> > >>I'm not looking for a return from a search.. I'm looking for the left
> > >>category
> > >>list's routine so I can add the ml= to that query.  If I change it in
> > >> the actual component file, it only limits the amount of left
> > >> categories that
>
> show
>
> > >>up not how many results are displayed when you click on the sub
> > >> category.
> > >
> > >Those links are built using the bar_link routine. This routine
> > >uses the data from the cat table.
> > >I suggest you alter the data in the cat table as follows:
> > >
> > >Do the following for each entry in the cat table:
> > >1. Change the link_type from 'Simple search' to 'Complex search'
> > >2. Clear the selector field
> > >3. Add following info to search field. Example for category 'Step
> > > Stools':
> > >
> > >sf=category
> > >se=Step Stools
> > >ml=20
> > >
> > >Good luck !
> > >
> > >
> > >Best regards,
> > >
> > >Ton
> >
> > In the alternative, you could just modify the bar_link subroutine in
> > VENDROOT/catalog_before.cfg to add the ml=n argument to the scan URL.
>
> If you decide to go this route, you should copy the bar_link sub from
> catalog_before.cfg and place it in your catalog.cfg and edit it there.
> Otherwise your changes will affect every catalog on the box.
>
> -Paul
>
> > - Ed L.
Thanks everyone for the input i'll tinker with it tonight.  That was exactly 
the information I was looking for.  Either way should be good for me.

Craig




More information about the interchange-users mailing list