Merge pull request #1622 from basecamp/open-filter

Fix: don't show closed cards by default when filtering by "created by"
This commit is contained in:
Jorge Manrubia
2025-11-18 11:43:22 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class Card < ApplicationRecord
case index
when "stalled" then stalled
when "postponing_soon" then postponing_soon
when "closed" then closed.recently_closed_first
when "closed" then closed
when "not_now" then postponed.latest
when "golden" then golden
when "draft" then drafted
+1 -1
View File
@@ -66,7 +66,7 @@ class Filter < ApplicationRecord
private
def include_closed_cards?
only_closed? || card_ids.present? || creator_ids.present?
only_closed? || card_ids.present?
end
def include_not_now_cards?