mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Document workaround for jbox-web/ajax-datatables-rails#293
This commit is contained in:
parent
e709d080b4
commit
d3e73b103f
1 changed files with 2 additions and 0 deletions
|
|
@ -47,10 +47,12 @@ class UserDatatable < AjaxDatatablesRails::Base
|
|||
end
|
||||
# rubocop:enable Naming/AccessorMethodName
|
||||
|
||||
# Workaround for jbox-web/ajax-datatables-rails#293
|
||||
def records_total_count
|
||||
fetch_records.unscope(:group).count(:all)
|
||||
end
|
||||
|
||||
# Workaround for jbox-web/ajax-datatables-rails#293
|
||||
def records_filtered_count
|
||||
filter_records(fetch_records).unscope(:group).count(:all)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue