"Stalled" not "Stale"
The latter sounds like old bread.
This commit is contained in:
@@ -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,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user