[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] MV_DEFAULT_MATCHLIMIT setting problem


Thank you Rene,

 [var MV_DEFAULT_MATCHLIMIT] returns me 100.
 
 I added [value mv_matchlimit] at the top of results.html.
 
 http://www.mydomain.co.jp/cgibin/inter.cgi/scan/sf=template_page/se=av/tf=sku.html 
show matchlimit is 50 

http://www.mydomain.co.jp/cgibin/inter.cgi/scan/sf=template_page/se=av/tf=sku/ml=100.html 
show matchlimit is 100

IC v5.2.0 does not support MV_DEFAULT_MATCHLIMIT ?


My interchange/lib/Vend/Scan.pm shows below.

sub _matchlimit {
    shift;
    my $val = lc(shift);
    return -1 if $val eq 'none' or $val eq 'all';
    return int($val) || $::Variable->{MV_DEFAULT_MATCHLIMIT} || 50;
}


Shozo

At 2008/05/26 19:05:03, Rene Hertell <suppressed> wrote?F
>suppressed wrote:
>> Hello,
>> 
>> MV_DEFAULT_MATCHLIMIT don't work as mv_matchlimit default value.
>> 
>> Does anyone use this variable?
>> 
>> I added the line below in catalog.cfg and restarted IC. Variable
>> MV_DEFAULT_MATCHLIMIT 100
>
>Hi Shozo,
>
>Does [var MV_DEFAULT_MATCHLIMIT] return you 100, or is it empty? If it's 
>empty, then that variable is not set corretly..
>
>Did you edit catalog.cfg in Windows? If you did, then make sure that you 
>save the file in "unix-mode" without the carriage returns that 
>windows-editors tend to add to edited text-files..
>
>René

>
>-=-=-
>... You can't scare me. I drive a school bus!
>
>_______________________________________________
>interchange-users mailing list
>suppressed
>http://www.icdevgroup.org/mailman/listinfo/interchange-users
>

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.