mirror of
https://github.com/discourse/discourse.git
synced 2025-04-14 21:50:57 +08:00
correct regression
This commit is contained in:
parent
3e099ab2b1
commit
dab48b7c17
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user