Last Long Reply order will now ignore hidden and filtered replies.

This commit is contained in:
ccd0 2017-08-12 10:44:16 -07:00
parent eda9b121c5
commit 7a41c7462e

View File

@ -815,6 +815,7 @@ Index =
when 'lastlong'
lastlong = (thread) ->
for r, i in (thread.last_replies or []) by -1
continue if Index.isHiddenReply thread.no, r
len = if r.com then Build.parseComment(r.com).replace(/[^a-z]/ig, '').length else 0
if len >= Index.lastLongThresholds[+!!r.ext]
return r