Skip to content
Permalink
Browse files
added template for overwrite the default max_items variable
  • Loading branch information
Jiadi Yao committed Apr 1, 2015
1 parent d14e5c8 commit dce1d9c2eca1dcdd89f1906388ba0e45825092ff
Showing with 15 additions and 0 deletions.
  1. +15 −0 lib/defaultcfg/cfg.d/views.pl
@@ -3,6 +3,21 @@
# a valid result.
# Multiple fields may be specified for one view, but avoid
# subject or allowing null in this case.



##
# set a global max_items limit:
# $c->{browse_views_max_items} = 3000;

# set a per view max_item limit:
# $c->{browse_views} = [{
# ...
# max_items => 3000,
# }];
# To disable the limit set max_items to 0.


$c->{browse_views} = [
{
id => "year",

0 comments on commit dce1d9c

Please sign in to comment.