From dd67f3ae8352ece3f38483f281c68d0a5fd25e0b Mon Sep 17 00:00:00 2001 From: Jason Harvey Date: Thu, 20 Feb 2014 06:37:54 -0800 Subject: [PATCH] Add a should_incr_counts attr to wrapped things. --- r2/r2/lib/pages/things.py | 1 + 1 file changed, 1 insertion(+) diff --git a/r2/r2/lib/pages/things.py b/r2/r2/lib/pages/things.py index 421dd9bc9..00e257eb1 100644 --- a/r2/r2/lib/pages/things.py +++ b/r2/r2/lib/pages/things.py @@ -220,6 +220,7 @@ def default_thing_wrapper(**params): w.rowstyle = 'promoted link' elif style == 'htmllite': w.score_fmt = Score.points + w.should_incr_counts = style != 'htmllite' return w params['parent_wrapper'] = _default_thing_wrapper return make_wrapper(**params)