From 3c81562fb82186dc4222a94d65dbc026f663b475 Mon Sep 17 00:00:00 2001 From: owocki Date: Mon, 1 Jun 2020 13:49:40 -0600 Subject: [PATCH] fixes the view count issue --- app/dashboard/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/dashboard/helpers.py b/app/dashboard/helpers.py index 8747d4a7753..44c5c947498 100644 --- a/app/dashboard/helpers.py +++ b/app/dashboard/helpers.py @@ -570,8 +570,8 @@ def merge_bounty(latest_old_bounty, new_bounty, metadata, bounty_details, verbos except Exception as e: logger.error(e) - # if latest_old_bounty: - # new_bounty.set_view_count(latest_old_bounty.view_count) + if latest_old_bounty: + new_bounty.set_view_count(latest_old_bounty.get_view_count) if latest_old_bounty and latest_old_bounty.event: new_bounty.event = latest_old_bounty.event