Fix tests

This commit is contained in:
aignatov-bio 2020-06-17 15:18:00 +02:00
parent 323929b270
commit e7659da0e7

View file

@ -21,7 +21,7 @@ class RepositoryRowsController < ApplicationController
@all_rows_count = datatable_service.all_count
@columns_mappings = datatable_service.mappings
@repository_rows = datatable_service.repository_rows
.where(archived: params[:archived])
.where(archived: (params[:archived] || false))
.preload(:repository_columns,
:created_by,
repository_cells: @repository.cell_preload_includes)