diff --git a/app/datatables/repository_datatable.rb b/app/datatables/repository_datatable.rb index b97db6d95..7f23f9408 100644 --- a/app/datatables/repository_datatable.rb +++ b/app/datatables/repository_datatable.rb @@ -158,6 +158,7 @@ class RepositoryDatatable < AjaxDatatablesRails::Base ) .joins(:created_by) .where(repository: @repository) + return @assigned_rows if params[:assigned] == 'assigned' else @assigned_rows = repository_rows.joins( 'INNER JOIN my_module_repository_rows ON