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:
Diffstat (limited to 'app/finders/tags_finder.rb')
-rw-r--r--app/finders/tags_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/tags_finder.rb b/app/finders/tags_finder.rb
index 16bba62f766..52b1fff4883 100644
--- a/app/finders/tags_finder.rb
+++ b/app/finders/tags_finder.rb
@@ -2,7 +2,7 @@
class TagsFinder < GitRefsFinder
def execute(gitaly_pagination: false)
- tags = if gitaly_pagination
+ tags = if gitaly_pagination && search.blank?
repository.tags_sorted_by(sort, pagination_params)
else
repository.tags_sorted_by(sort)