Fix bug.
This commit is contained in:
parent
ce0bd42b46
commit
7d87214fb0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue