Skip to content

Commit

Permalink
Stop looking at Values mv_matchlimit in ncheck
Browse files Browse the repository at this point in the history
- the mv_matchlimit Value can be set by the shorthand "ml", which
  many components use. If using such a component on your results
  page, its setting of the matchlimit may take precedence. This is
  not what we want.
  • Loading branch information
Josh Lavin committed Aug 22, 2016
1 parent a9f9a97 commit dd821de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/strap/config/ncheck_category.tag
Expand Up @@ -23,7 +23,7 @@ sub ncheck_category {
s,::,/,g;
}
my ($search, $o);
my $limit = $::Values->{mv_matchlimit} || $::Variable->{MV_DEFAULT_MATCHLIMIT} || 50;
my $limit = $::Variable->{MV_DEFAULT_MATCHLIMIT} || 50;
my $more_link = $a_prod_group;
if($category && $category !~ /^([0-9]+|Next|Previous)$/ ) {
$more_link .= '/' . $a_category;
Expand Down

0 comments on commit dd821de

Please sign in to comment.