summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2018-12-11 15:11:08 -0200
committerFelipe Artur <felipefac@gmail.com>2018-12-11 15:11:11 -0200
commit61ad1da134d306cf09075940cf52639c8314cfc3 (patch)
tree9dc51102cfd09da05b3ee32909b6530dc21f5b2d /app/helpers
parent18a48e348b83f66a1d108a2d6e38ac12c47dcef3 (diff)
downloadgitlab-ce-61ad1da134d306cf09075940cf52639c8314cfc3.tar.gz
Fix issuables sort direction button parameters
Fix labels parameter being deleted from filter when clicking sort direction button on issues/merge requests search bar.
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/sorting_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/sorting_helper.rb b/app/helpers/sorting_helper.rb
index f51b96ba8ce..67c808b167a 100644
--- a/app/helpers/sorting_helper.rb
+++ b/app/helpers/sorting_helper.rb
@@ -164,7 +164,7 @@ module SortingHelper
reverse_sort = issuable_reverse_sort_order_hash[sort_value]
if reverse_sort
- reverse_url = page_filter_path(sort: reverse_sort)
+ reverse_url = page_filter_path(sort: reverse_sort, label: true)
else
reverse_url = '#'
link_class += ' disabled'