Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-09 15:12:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-09 15:12:15 +0300
commitb808458daa86105dd2101893961338912961ee92 (patch)
tree5a3b432668a2340cced92eeaa2654604ba0efef9 /app/models/repository.rb
parent1aa9cd3080e7ef34b7b021f23222d3990e4a1128 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 119d874a6e1..7b24ae35125 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -731,8 +731,8 @@ class Repository
raw_repository.local_branches(sort_by: sort_by, pagination_params: pagination_params)
end
- def tags_sorted_by(value)
- return raw_repository.tags(sort_by: value) if Feature.enabled?(:tags_finder_gitaly, project, default_enabled: :yaml)
+ def tags_sorted_by(value, pagination_params = nil)
+ return raw_repository.tags(sort_by: value, pagination_params: pagination_params) if Feature.enabled?(:tags_finder_gitaly, project, default_enabled: :yaml)
tags_ruby_sort(value)
end