aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/user.py b/src/web/views/user.py
index 3e203b3e..9dca512c 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -31,7 +31,7 @@ def profile_public(nickname=None):
word_size = 6
filters = {}
- filters['retrieved_date__gt'] = datetime.now() - timedelta(weeks=24)
+ filters['retrieved_date__gt'] = datetime.now() - timedelta(weeks=10)
articles = ArticleController(user.id).read(**filters).all()
top_words = misc_utils.top_words(articles, n=50, size=int(word_size))
tag_cloud = misc_utils.tag_cloud(top_words)
bgstack15