From 81087295a06f8a6bcf7c7e8985fa5928806ddb14 Mon Sep 17 00:00:00 2001 From: Jeffrey Hardy Date: Thu, 3 Oct 2024 14:15:05 -0400 Subject: [PATCH] Scope and order assignee and tag filters --- app/views/bubbles/index.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/bubbles/index.html.erb b/app/views/bubbles/index.html.erb index e66d86389..aacfebfd8 100644 --- a/app/views/bubbles/index.html.erb +++ b/app/views/bubbles/index.html.erb @@ -31,7 +31,7 @@ data-dialog-modal-value="true"><%= @bucket.name %> - <% Bucket.all.each do |bucket| %> + <% Current.user.buckets.order(:name).each do |bucket| %>
  • <% end %>
    @@ -49,7 +49,7 @@ data-dialog-modal-value="true"><%= @tag.title %> - <% Tag.all.each do |tag| %> + <% Current.account.tags.order(:title).each do |tag| %>
  • <% end %>
    @@ -69,7 +69,7 @@ data-dialog-modal-value="true">any tag - <% Tag.all.each do |tag| %> + <% Current.account.tags.order(:title).each do |tag| %>
  • <% end %>
    @@ -83,7 +83,7 @@ data-dialog-modal-value="true">assigned to anyone - <% User.all.each do |user| %> + <% Current.account.users.order(:name).each do |user| %>
  • <% end %>