From 7d87214fb075068dd175de37e1cfd5ca88322583 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 30 Mar 2021 09:49:35 +0800 Subject: [PATCH] Fix bug. --- app/controllers/admin/experiments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/experiments_controller.rb b/app/controllers/admin/experiments_controller.rb index 9ae9f31..a5b9250 100644 --- a/app/controllers/admin/experiments_controller.rb +++ b/app/controllers/admin/experiments_controller.rb @@ -12,7 +12,7 @@ class Admin::ExperimentsController < OrbitAdminController .with_tags(filters("tag")) .with_status(filters("status")) - @subjects = search_data(@subjects,[:subject]).page(params[:page]).per(10) + @subjects = search_data(@subjects,[:title]).page(params[:page]).per(10) render :partial => "index" if request.xhr? end