[ic] MV_DEFAULT_MATCHLIMIT setting problem

murahashi at ayayu.com murahashi at ayayu.com
Mon May 26 12:29:22 UTC 2008


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 <interchange at hertell.com> wroteF
>murahashi at ayayu.com 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
>interchange-users at icdevgroup.org
>http://www.icdevgroup.org/mailman/listinfo/interchange-users
>



More information about the interchange-users mailing list