mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
Merge pull request #3440 from okriuchykhin/ok_SCI_5908
Fix sorting by role with filtering in team members table [SCI-5908]
This commit is contained in:
commit
7940eb8465
1 changed files with 1 additions and 1 deletions
|
@ -18,8 +18,8 @@ class CustomDatatable < AjaxDatatablesRails::Base
|
|||
|
||||
def fetch_records
|
||||
records = get_raw_records
|
||||
records = sort_records(records) if order_params.present?
|
||||
records = filter_records(records) if dt_params[:search].present?
|
||||
records = sort_records(records) if order_params.present?
|
||||
records = paginate_records(records) unless dt_params[:length].present? &&
|
||||
dt_params[:length] == '-1'
|
||||
records
|
||||
|
|
Loading…
Reference in a new issue