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
|
|
@ -21,7 +21,8 @@ class UserDatatable < AjaxDatatablesRails::ActiveRecord
|
|||
email: { source: 'User.email' },
|
||||
name: { source: 'User.name' },
|
||||
attended: { source: 'attended_count', searchable: false },
|
||||
roles: { source: 'Role.name' }
|
||||
roles: { source: 'Role.name' },
|
||||
actions: { source: 'User.id', searchable: false, orderable: false }
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue