Use filter_type list for author and global_user
This commit is contained in:
parent
82e5e4e670
commit
9d4c410e04
@ -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() {
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user