Change group_children_path to filter_groups_path like for the sort order filter
Signed-off-by: Ashley Dumaine <adumaine@datto.com>
This commit is contained in:
parent
201f53e96d
commit
4f0146bfeb
1 changed files with 3 additions and 3 deletions
|
@ -23,11 +23,11 @@
|
|||
- if show_archive_options
|
||||
%li.divider
|
||||
%li.js-filter-archived-projects
|
||||
= link_to group_children_path(@group, archived: nil), class: ("is-active" unless params[:archived].present?) do
|
||||
= link_to filter_groups_path(archived: nil), class: ("is-active" unless params[:archived].present?) do
|
||||
Hide archived projects
|
||||
%li.js-filter-archived-projects
|
||||
= link_to group_children_path(@group, archived: true), class: ("is-active" if Gitlab::Utils.to_boolean(params[:archived])) do
|
||||
= link_to filter_groups_path(archived: true), class: ("is-active" if Gitlab::Utils.to_boolean(params[:archived])) do
|
||||
Show archived projects
|
||||
%li.js-filter-archived-projects
|
||||
= link_to group_children_path(@group, archived: 'only'), class: ("is-active" if params[:archived] == 'only') do
|
||||
= link_to filter_groups_path(archived: 'only'), class: ("is-active" if params[:archived] == 'only') do
|
||||
Show archived projects only
|
||||
|
|
Loading…
Reference in a new issue