scinote-web/app/views/repository_rows/simple_view_index.json.jbuilder
Soufiane f856ddf78c
Assigned items in task datatable will not load if stock management is enabled [SCI-8944] (#5904)
* Fix assigned items datatable in shareable link with stock management [SCI-8944]

* Avoid skipping auth token verification for assets download [SCI-8944]
2023-08-04 11:21:43 +02:00

11 lines
308 B
Ruby

# frozen_string_literal: true
json.draw @draw
json.data do
json.array! prepare_simple_view_row_columns(
@repository_rows, @repository, @my_module, @datatable_params || {}
)
end
json.recordsFiltered @repository_rows.first ? @repository_rows.first.filtered_count : 0
json.recordsTotal @all_rows_count