summaryrefslogtreecommitdiff
path: root/lib/api/helpers/issues_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/helpers/issues_helpers.rb')
-rw-r--r--lib/api/helpers/issues_helpers.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/helpers/issues_helpers.rb b/lib/api/helpers/issues_helpers.rb
index 00aaf5243b7..12bbc598532 100644
--- a/lib/api/helpers/issues_helpers.rb
+++ b/lib/api/helpers/issues_helpers.rb
@@ -37,6 +37,7 @@ module API
issues = finder.execute.with_api_entity_associations
order_by = declared_params[:sort].present? && %w(asc desc).include?(declared_params[:sort].downcase)
issues = issues.reorder(order_options_with_tie_breaker) if order_by
+
issues
# rubocop: enable CodeReuse/ActiveRecord
end