mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
9 lines
250 B
Text
9 lines
250 B
Text
|
# frozen_string_literal: true
|
||
|
|
||
|
json.draw @draw
|
||
|
json.data do
|
||
|
json.array! prepare_simple_view_row_columns(@repository_rows)
|
||
|
end
|
||
|
json.recordsFiltered @repository_rows.first ? @repository_rows.first.filtered_count : 0
|
||
|
json.recordsTotal @all_rows_count
|