From 500dd5e57b84fca23dc4c65daddc564d0b3fbeec Mon Sep 17 00:00:00 2001 From: Brenda Date: Sun, 1 Dec 2019 12:30:31 +1300 Subject: [PATCH] Reduce queries per thumbnail. --- app/views/crops/_thumbnail.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/crops/_thumbnail.html.haml b/app/views/crops/_thumbnail.html.haml index 7c7f3d6ec..948c59bbc 100644 --- a/app/views/crops/_thumbnail.html.haml +++ b/app/views/crops/_thumbnail.html.haml @@ -9,4 +9,4 @@ %h3.crop-name= link_to crop, crop %h5.crop-sci-name   - = crop.default_scientific_name + = crop.scientific_names.first&.name