From f0c0e1434215b92b9c829a305bcea1a53b856e70 Mon Sep 17 00:00:00 2001 From: jpl Date: Wed, 8 Feb 2017 18:51:12 +0100 Subject: Refs #2482: fix tests --- app/controllers/referentials_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers/referentials_controller.rb') diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb index 83a56b6e0..6dbfc423d 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -32,8 +32,8 @@ class ReferentialsController < BreadcrumbController } format.html { build_breadcrumb :show} end - @q = lines_collection.ransack(params[:q]) - @reflines = @q.result(distinct: true).paginate(page: params[:page], per_page: 10) + p "test" + @reflines = lines_collection.paginate(page: params[:page], per_page: 10) end def edit -- cgit v1.2.3