From a782d16d28e5d10dd8cffed83bc812d616f86553 Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Tue, 4 Aug 2020 15:22:49 -0400 Subject: [PATCH] paginate tag page listings (#8243) --- app/controllers/tag_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/tag_controller.rb b/app/controllers/tag_controller.rb index d4aa5041b4..1d0f10f2ef 100644 --- a/app/controllers/tag_controller.rb +++ b/app/controllers/tag_controller.rb @@ -118,6 +118,7 @@ def show end nodes = nodes.paginate(page: params[:page], per_page: 24).order(order_by) + @paginated = true if @start && @end nodes = nodes.where(created: @start.to_i..@end.to_i)