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
81f10288
Commit
81f10288
authored
Jul 16, 2019
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default manual_sorting feature flag to on
parent
6b021c09
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/controllers/groups_controller.rb
app/controllers/groups_controller.rb
+1
-1
app/controllers/projects/issues_controller.rb
app/controllers/projects/issues_controller.rb
+1
-1
app/views/shared/issuable/_sort_dropdown.html.haml
app/views/shared/issuable/_sort_dropdown.html.haml
+1
-1
No files found.
app/controllers/groups_controller.rb
View file @
81f10288
...
...
@@ -8,7 +8,7 @@ class GroupsController < Groups::ApplicationController
include
RecordUserLastActivity
before_action
do
push_frontend_feature_flag
(
:manual_sorting
)
push_frontend_feature_flag
(
:manual_sorting
,
default_enabled:
true
)
end
respond_to
:html
...
...
app/controllers/projects/issues_controller.rb
View file @
81f10288
...
...
@@ -11,7 +11,7 @@ class Projects::IssuesController < Projects::ApplicationController
include
RecordUserLastActivity
before_action
do
push_frontend_feature_flag
(
:manual_sorting
)
push_frontend_feature_flag
(
:manual_sorting
,
default_enabled:
true
)
end
def
issue_except_actions
...
...
app/views/shared/issuable/_sort_dropdown.html.haml
View file @
81f10288
-
sort_value
=
@sort
-
sort_title
=
issuable_sort_option_title
(
sort_value
)
-
viewing_issues
=
controller
.
controller_name
==
'issues'
||
controller
.
action_name
==
'issues'
-
manual_sorting
=
viewing_issues
&&
controller
.
controller_name
!=
'dashboard'
&&
Feature
.
enabled?
(
:manual_sorting
)
-
manual_sorting
=
viewing_issues
&&
controller
.
controller_name
!=
'dashboard'
&&
Feature
.
enabled?
(
:manual_sorting
,
default_enabled:
true
)
.dropdown.inline.prepend-left-10.issue-sort-dropdown
.btn-group
{
role:
'group'
}
...
...
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