"Stalled" not "Stale"

The latter sounds like old bread.
This commit is contained in:
Kevin McConnell
2025-03-27 12:22:55 +00:00
parent 14db651488
commit 3ea7da26ab
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -20,11 +20,11 @@ class Bubble < ApplicationRecord
scope :indexed_by, ->(index) do
case index
when "most_active" then ordered_by_activity
when "most_stale" then ordered_by_staleness
when "most_discussed" then ordered_by_comments
when "most_boosted" then ordered_by_boosts
when "newest" then reverse_chronologically
when "oldest" then chronologically
when "stalled" then ordered_by_staleness
when "popped" then popped
end
end
+1 -1
View File
@@ -1,7 +1,7 @@
module Filter::Fields
extend ActiveSupport::Concern
INDEXES = %w[ most_discussed most_boosted most_stale newest oldest popped ]
INDEXES = %w[ most_discussed most_boosted newest oldest stalled popped ]
delegate :default_value?, to: :class