From 639e01c847bccf3d065e7b54f7ddacf72323681e Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Mon, 7 Mar 2022 12:31:36 +0000 Subject: [PATCH] Use less expensive query for counting logs --- app/views/case_logs/_log_list.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/case_logs/_log_list.html.erb b/app/views/case_logs/_log_list.html.erb index ab9fe9a0a..4bf963ea8 100644 --- a/app/views/case_logs/_log_list.html.erb +++ b/app/views/case_logs/_log_list.html.erb @@ -1,6 +1,6 @@
- <%= case_logs.count %> <%= title.downcase %> + <%= case_logs.size %> <%= title.downcase %>