Skip to content
Snippets Groups Projects
Commit 60cd47bc authored by Luis Alonso Chavez Armendariz's avatar Luis Alonso Chavez Armendariz
Browse files

Fix bad selection on dropdown menu for tags filter

parent fe4ae12e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -10,15 +10,16 @@
.nav-controls
= form_tag(filter_tags_path, method: :get) do
= search_field_tag :search, params[:search], { placeholder: 'Filter by tag name', id: 'tag-search', class: 'form-control search-text-input input-short', spellcheck: false }
.dropdown.inline
%button.dropdown-toggle.btn{ type: 'button', data: { toggle: 'dropdown'} }
%span.light
= @sort.humanize
= projects_sort_options_hash[@sort]
= icon('caret-down')
%ul.dropdown-menu.dropdown-menu-align-right
%li
= link_to filter_tags_path(sort: nil) do
Name
= link_to filter_tags_path(sort: sort_value_name) do
= sort_title_name
= link_to filter_tags_path(sort: sort_value_recently_updated) do
= sort_title_recently_updated
= link_to filter_tags_path(sort: sort_value_oldest_updated) do
Loading
Loading
---
title: Fix bad selection on dropdown menu for tags filter
merge_request:
author: Luis Alonso Chavez Armendariz
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