diff --git a/app/controllers/repository_rows_controller.rb b/app/controllers/repository_rows_controller.rb index 08dae49cc..b4025aee9 100644 --- a/app/controllers/repository_rows_controller.rb +++ b/app/controllers/repository_rows_controller.rb @@ -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)