scinote-web/app/views/repository_rows/index.json.jbuilder
2020-01-13 16:09:07 +01:00

11 lines
344 B
Ruby

# frozen_string_literal: true
json.draw @draw
json.recordsTotal @all_rows_count
json.recordsFiltered @filtered_rows_count
json.data do
json.array! prepare_row_columns(@repository_rows,
@repository,
@columns_mappings,
@repository.team)
end