From cf8331dad74a94f8b01b5d5e00eeced7ceb232d8 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Thu, 3 Apr 2025 14:25:38 +0200 Subject: [PATCH] No need to modify this filter, it was already working well --- app/models/filter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/filter.rb b/app/models/filter.rb index d3d7df9c2..aa9d0a794 100644 --- a/app/models/filter.rb +++ b/app/models/filter.rb @@ -19,7 +19,7 @@ class Filter < ApplicationRecord def bubbles @bubbles ||= begin result = creator.accessible_bubbles.indexed_by(indexed_by) - result = indexed_by.popped? ? result.popped : result.active + result = result.active unless indexed_by.popped? result = result.unassigned if assignment_status.unassigned? result = result.assigned_to(assignees.ids) if assignees.present? result = result.where(creator_id: creators.ids) if creators.present?