Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4adb461f
Commit
4adb461f
authored
Aug 03, 2021
by
Terri Chu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove feature flag search_sort_issues_by_popularity
Changelog: added
parent
67bfef2c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
10 deletions
+2
-10
app/helpers/search_helper.rb
app/helpers/search_helper.rb
+1
-1
app/views/search/results/_issuable.html.haml
app/views/search/results/_issuable.html.haml
+1
-1
config/feature_flags/development/search_sort_issues_by_popularity.yml
...re_flags/development/search_sort_issues_by_popularity.yml
+0
-8
No files found.
app/helpers/search_helper.rb
View file @
4adb461f
...
...
@@ -150,7 +150,7 @@ module SearchHelper
}
]
if
search_service
.
scope
==
'issues'
&&
Feature
.
enabled?
(
:search_sort_issues_by_popularity
)
if
search_service
.
scope
==
'issues'
options
<<
{
title:
_
(
'Popularity'
),
sortable:
true
,
...
...
app/views/search/results/_issuable.html.haml
View file @
4adb461f
...
...
@@ -12,7 +12,7 @@
.description.term.gl-px-0
=
highlight_and_truncate_issuable
(
issuable
,
@search_term
,
@search_highlight
)
.col-sm-3.gl-mt-3.gl-sm-mt-0.gl-text-right
-
if
Feature
.
enabled?
(
:search_sort_issues_by_popularity
)
&&
issuable
.
respond_to?
(
:upvotes_count
)
&&
issuable
.
upvotes_count
>
0
-
if
issuable
.
respond_to?
(
:upvotes_count
)
&&
issuable
.
upvotes_count
>
0
%li
.issuable-upvotes.gl-list-style-none.has-tooltip
{
title:
_
(
'Upvotes'
)
}
=
sprite_icon
(
'thumb-up'
,
css_class:
"gl-vertical-align-middle"
)
=
issuable
.
upvotes_count
...
...
config/feature_flags/development/search_sort_issues_by_popularity.yml
deleted
100644 → 0
View file @
67bfef2c
---
name
:
search_sort_issues_by_popularity
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65231
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/334974
milestone
:
'
14.1'
type
:
development
group
:
group::global search
default_enabled
:
false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment