summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBrett Walker <bwalker@gitlab.com>2019-05-28 11:35:45 -0500
committerBrett Walker <bwalker@gitlab.com>2019-05-28 11:41:04 -0500
commit703dd456e38d2cd357c3e7ec15e3b088f8ea4235 (patch)
tree434d1f50bd5fed5c4dabd19745a9ffb2cc58b399 /app
parent40b67a4f6a91e718721857f4d34cc600d1f90b9b (diff)
downloadgitlab-ce-703dd456e38d2cd357c3e7ec15e3b088f8ea4235.tar.gz
Check for manual_sorting feature flag9121-sort-relative-position
Diffstat (limited to 'app')
-rw-r--r--app/views/shared/issuable/_sort_dropdown.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sort_dropdown.html.haml b/app/views/shared/issuable/_sort_dropdown.html.haml
index 9c151dc96f3..1dd97bc4ed1 100644
--- a/app/views/shared/issuable/_sort_dropdown.html.haml
+++ b/app/views/shared/issuable/_sort_dropdown.html.haml
@@ -17,6 +17,6 @@
= sortable_item(sort_title_due_date, page_filter_path(sort: sort_value_due_date), sort_title) if viewing_issues
= sortable_item(sort_title_popularity, page_filter_path(sort: sort_value_popularity), sort_title)
= sortable_item(sort_title_label_priority, page_filter_path(sort: sort_value_label_priority), sort_title)
- = sortable_item(sort_title_relative_position, page_filter_path(sort: sort_value_relative_position), sort_title) if viewing_issues
+ = sortable_item(sort_title_relative_position, page_filter_path(sort: sort_value_relative_position), sort_title) if viewing_issues && Feature.enabled?(:manual_sorting)
= render_if_exists('shared/ee/issuable/sort_dropdown', viewing_issues: viewing_issues, sort_title: sort_title)
= issuable_sort_direction_button(sort_value)