aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-16 08:59:33 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-16 08:59:33 +0000
commitd1882602ce67cd3d8d53116a5ffe26cff826451b (patch)
treef0df357ae5fb7f95500df3929c95b417557d49d8 /web
parentDifferent max for limit of left daylist when local_latest is in place. (diff)
downloadpackages-d1882602ce67cd3d8d53116a5ffe26cff826451b.tar.gz
packages-d1882602ce67cd3d8d53116a5ffe26cff826451b.tar.bz2
packages-d1882602ce67cd3d8d53116a5ffe26cff826451b.zip
Better default for local_latest as well.
Diffstat (limited to 'web')
-rw-r--r--web/lib/filters.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/filters.py b/web/lib/filters.py
index ff11af0..6afacc1 100644
--- a/web/lib/filters.py
+++ b/web/lib/filters.py
@@ -18,6 +18,7 @@ def limit_leftcount(kwds):
max = 5
if 'local_latest' in kwds:
max = 90
+ leftcount = 14
if 'left_daycount' in kwds:
try:
leftcount = int(kwds['left_daycount'])