Merge branch 'bw-enable-default-manual-sorting' into 'master'
Default manual_sorting feature flag to on See merge request gitlab-org/gitlab-ce!30788
This commit is contained in:
commit
98152f17ea
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- 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…
Reference in a new issue