mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Re-prioritize related so unread is always first
This commit is contained in:
@@ -70,14 +70,6 @@ class SuggestedTopicsBuilder
|
||||
SiteSetting.suggested_topics - @results.count{|r| r.category_id == @category_id}
|
||||
end
|
||||
|
||||
def category_full?
|
||||
if @category_id
|
||||
|
||||
else
|
||||
full?
|
||||
end
|
||||
end
|
||||
|
||||
def size
|
||||
@results.size
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user