From e80f056712be9013262981ad1bfb1978f7ffbbde Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 30 Oct 2017 16:20:29 +0000 Subject: Refresh open Issue and Merge Request project counter caches when re-opening --- app/services/issues/reopen_service.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/services/issues/reopen_service.rb') diff --git a/app/services/issues/reopen_service.rb b/app/services/issues/reopen_service.rb index 35de4337b15..62b4b4b6a1e 100644 --- a/app/services/issues/reopen_service.rb +++ b/app/services/issues/reopen_service.rb @@ -9,6 +9,7 @@ module Issues notification_service.reopen_issue(issue, current_user) execute_hooks(issue, 'reopen') invalidate_cache_counts(issue, users: issue.assignees) + issue.update_project_counter_caches end issue -- cgit v1.2.1