Use filter_type list for author and global_user

This commit is contained in:
Alexander Meindl 2022-02-20 11:37:25 +01:00
parent 82e5e4e670
commit 9d4c410e04
2 changed files with 2 additions and 7 deletions

View File

@ -23,11 +23,6 @@
multiple: true,
url: grouped_users_auto_completes_path(project_id: @project)
= additionals_transform_to_select2 'global_user',
format_state: 'formatNameWithIcon',
multiple: true,
url: grouped_users_auto_completes_path
- if @additionals_help_items.present?
javascript:
$(function() {

View File

@ -19,8 +19,8 @@ module Additionals
alias_method :add_filter, :add_filter_with_additionals
operators_by_filter_type[:assignee] = operators_by_filter_type[:list_optional]
operators_by_filter_type[:author] = operators_by_filter_type[:list_optional]
operators_by_filter_type[:global_user] = operators_by_filter_type[:list_optional]
operators_by_filter_type[:author] = operators_by_filter_type[:list]
operators_by_filter_type[:global_user] = operators_by_filter_type[:list]
operators_by_filter_type[:principal] = operators_by_filter_type[:list_optional]
operators_by_filter_type[:user] = operators_by_filter_type[:list_optional]
operators_by_filter_type[:user_with_me] = operators_by_filter_type[:list_optional]