mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Fix tests
This commit is contained in:
parent
323929b270
commit
e7659da0e7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue