diff --git a/app/views/home/_harvests.html.haml b/app/views/home/_harvests.html.haml index e83a7698e..aab9c71d4 100644 --- a/app/views/home/_harvests.html.haml +++ b/app/views/home/_harvests.html.haml @@ -1,6 +1,6 @@ %section.harvests %h5= t('.recently_harvested') - - Harvest.has_photos.recent.includes(:crop, :owner, :photos).limit(3).each do |harvest| + - Harvest.has_photos.recent.includes(:crop, :owner, :photos).limit(6).each do |harvest| .card = link_to harvest, class: 'list-group-item list-group-item-action flex-column align-items-start' do .d-flex.w-100.justify-content-between diff --git a/app/views/home/_plantings.html.haml b/app/views/home/_plantings.html.haml index ecbcc23de..82f68f0bf 100644 --- a/app/views/home/_plantings.html.haml +++ b/app/views/home/_plantings.html.haml @@ -1,7 +1,7 @@ %section.plantings %h5= t('.recently_planted') - - Planting.has_photos.recent.includes(:crop, garden: :owner).limit(3).each do |planting| + - Planting.has_photos.recent.includes(:crop, garden: :owner).limit(6).each do |planting| .card = link_to planting, class: 'list-group-item list-group-item-action flex-column align-items-start' do .d-flex.w-100.justify-content-between