mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
correct regression
This commit is contained in:
@@ -27,7 +27,7 @@ class ListableTopicSerializer < BasicTopicSerializer
|
||||
has_one :last_poster, serializer: BasicUserSerializer, embed: :objects
|
||||
|
||||
def highest_post_number
|
||||
(scope.is_staff? && object.highest_staff_post_number) || object.highest_post_num
|
||||
(scope.is_staff? && object.highest_staff_post_number) || object.highest_post_number
|
||||
end
|
||||
|
||||
def liked
|
||||
|
||||
Reference in New Issue
Block a user