From 409d71ed471703be8c56f2639a3ecb0fa387e6a7 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 4 Aug 2026 07:07:05 +0200 Subject: Give node lists a flag column and a shared action bar --- app/controllers/nodes_controller.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/controllers/nodes_controller.rb') diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb index ca30976f..447d596d 100644 --- a/app/controllers/nodes_controller.rb +++ b/app/controllers/nodes_controller.rb @@ -20,9 +20,7 @@ class NodesController < ApplicationController ] def index - @nodes = Node.root.descendants.includes(:head, :draft) - .order('id DESC') - .paginate(:page => params[:page], :per_page => 25) + @nodes = index_matching(Node.root.descendants) end def new -- cgit v1.3