diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-09 15:12:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-09 15:12:15 +0300 |
commit | b808458daa86105dd2101893961338912961ee92 (patch) | |
tree | 5a3b432668a2340cced92eeaa2654604ba0efef9 /app/models/repository.rb | |
parent | 1aa9cd3080e7ef34b7b021f23222d3990e4a1128 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
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 |