mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Update datatables for ajax-datatables-rails 1
Resolves: - inability to filter, order, or paginate datatables - exception AjaxDatatablesRails::Error::InvalidSearchColumn Continues: -81853d1ef9-83636afee0
This commit is contained in:
parent
edec5a98be
commit
2a93d09d22
6 changed files with 10 additions and 9 deletions
|
|
@ -20,7 +20,7 @@ module Admin
|
|||
respond_to do |format|
|
||||
format.html
|
||||
format.json do
|
||||
render json: RegistrationDatatable.new({}, conference: @conference, view_context: view_context)
|
||||
render json: RegistrationDatatable.new(params, conference: @conference, view_context: view_context)
|
||||
end
|
||||
format.pdf { render 'index', layout: false }
|
||||
format.xlsx do
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ module Admin
|
|||
respond_to do |format|
|
||||
format.html
|
||||
format.json do
|
||||
render json: UserDatatable.new({}, view_context: view_context)
|
||||
render json: UserDatatable.new(params, view_context: view_context)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue