Skip to content
Snippets Groups Projects
Commit a980b0db authored by Sean McGivern's avatar Sean McGivern Committed by 🤖 GitLab Bot 🤖
Browse files

Merge branch 'bw-enable-default-manual-sorting' into 'master'

Default manual_sorting feature flag to on

See merge request gitlab-org/gitlab-ce!30788

(cherry picked from commit 98152f17)

81f10288 Default manual_sorting feature flag to on
parent 1762341a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
- 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' }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment