|
|
|
|
@ -54,24 +54,24 @@
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<%= render partial: "filters/radio_filter", |
|
|
|
|
locals: { |
|
|
|
|
f:, |
|
|
|
|
options: { |
|
|
|
|
"all": { label: "Any user" }, |
|
|
|
|
"you": { label: "You" }, |
|
|
|
|
"specific_user": { |
|
|
|
|
label: "Specific user", |
|
|
|
|
conditional_filter: { |
|
|
|
|
type: "select", |
|
|
|
|
label: "User", |
|
|
|
|
category: "user", |
|
|
|
|
options: assigned_to_filter_options(current_user), |
|
|
|
|
}, |
|
|
|
|
locals: { |
|
|
|
|
f:, |
|
|
|
|
options: { |
|
|
|
|
"all": { label: "Any user" }, |
|
|
|
|
"you": { label: "You" }, |
|
|
|
|
"specific_user": { |
|
|
|
|
label: "Specific user", |
|
|
|
|
conditional_filter: { |
|
|
|
|
type: "select", |
|
|
|
|
label: "User", |
|
|
|
|
category: "user", |
|
|
|
|
options: assigned_to_filter_options(current_user), |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
label: "Assigned to", |
|
|
|
|
category: "assigned_to", |
|
|
|
|
} %> |
|
|
|
|
}, |
|
|
|
|
label: "Assigned to", |
|
|
|
|
category: "assigned_to", |
|
|
|
|
} %> |
|
|
|
|
|
|
|
|
|
<% if current_user.support? || non_support_with_multiple_owning_orgs? %> |
|
|
|
|
<%= render partial: "filters/radio_filter", locals: { |
|
|
|
|
|