Fix that assignee and tag filters would overwrite each other
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<dialog class="filter__popup panel fill-white shadow" data-dialog-target="dialog">
|
||||
<menu class="filter__menu unpad margin-none">
|
||||
<% bucket.users.active.order(:name).each do |user| %>
|
||||
<li><%= link_to user.name, bucket_bubbles_path(bucket, bubble_filter_params.merge(assignee_ids: user.id)) %></li>
|
||||
<li><%= link_to user.name, bucket_bubbles_path(bucket, bubble_filter_params.merge("assignee_ids[]": user.id)) %></li>
|
||||
<% end %>
|
||||
</menu>
|
||||
</dialog>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<dialog class="filter__popup panel fill-white shadow" data-dialog-target="dialog">
|
||||
<menu class="filter__menu unpad margin-none">
|
||||
<% bucket.tags.order(:title).each do |tag| %>
|
||||
<li><%= link_to tag.title, bucket_bubbles_path(bucket, bubble_filter_params.merge(tag_ids: tag.id)) %></li>
|
||||
<li><%= link_to tag.title, bucket_bubbles_path(bucket, bubble_filter_params.merge("tag_ids[]": tag.id)) %></li>
|
||||
<% end %>
|
||||
</menu>
|
||||
</dialog>
|
||||
|
||||
Reference in New Issue
Block a user