This commit is contained in:
chiu 2021-03-30 09:49:35 +08:00
parent ce0bd42b46
commit 7d87214fb0
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class Admin::ExperimentsController < OrbitAdminController
.with_tags(filters("tag")) .with_tags(filters("tag"))
.with_status(filters("status")) .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? render :partial => "index" if request.xhr?
end end